I can create a new DAML project using a template with the command
daml new create-daml-app --template create-daml-app
This seems to run using my most recent DAML version, but I would like to run the command using an older version of DAML. Is there any way I can do this?
3 Likes
Yes! You can always select the SDK version that is being used via the DAML_SDK_VERSION
environment variable. So for example, to create a template in version 1.0, you can use the following command:
DAML_SDK_VERSION=1.0.0 daml new create-daml-app create-daml-app
(Note that --template
did not exist in SDK 1.0.0)
3 Likes