Skip to content
CCPEDIAby Unity Nodes
App Development

Create DAML project from template using specific DAML version

2 posts464 views6 likesLast activity Sep 2020

  1. Phoebe_NicholsOP 3

    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?

  2. cocreature 3

    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)