Last active
June 18, 2023 09:10
-
-
Save wpyoga/740a8994b86275f522f0e7bd89b1793d to your computer and use it in GitHub Desktop.
initialize cdk without installing cdk globally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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