Skip to content

Instantly share code, notes, and snippets.

@wpyoga
Last active June 18, 2023 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpyoga/740a8994b86275f522f0e7bd89b1793d to your computer and use it in GitHub Desktop.
Save wpyoga/740a8994b86275f522f0e7bd89b1793d to your computer and use it in GitHub Desktop.
initialize cdk without installing cdk globally
git init my-cdk-app
cd my-cdk-app
npx cdk@latest init app --language typescript
This will:
1. initialize an empty git repository
1. initialize a new cdk app using the latest CDK version
Note that there is no initial commit created if we initialize the repo this way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment