Create Cedar App
To get up and running with CedarJS, you can use Create Cedar App:
yarn create cedar-app <your-app-name>
Set up for success
CedarJS requires that you're running Node version 20 or higher.
If you're running Node version 21.0.0 or higher, you can still use Create Cedar App, but it may make your project incompatible with some deploy targets, such as AWS Lambdas.
To see what version of Node you're running, you can run the following command in your terminal:
node -v
If you need to update your version of Node or run multiple versions of Node, we recommend installing nvm and have documentation about how to get up and running.
You also need to have yarn version 1.22.21 or higher installed. To see what version of yarn you're running, you can run the following command in your terminal:
yarn -v
To upgrade your version of yarn, you can refer to the yarn documentation.
What you can expect
Select your preferred language
Options: TypeScript (default) or JavaScript
If you choose JavaScript, you can always add TypeScript later.