Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Create DAML project from template using specific DAML versionForum ↗

Create DAML project from template using specific DAML version

App Development2 posts432 views6 likesLast activity Sep 2020
PH
Phoebe_NicholsOP
Sep 2020

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?

CO
cocreature
Sep 2020

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)

← Back to Discussions