Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
If the current behavior is a :beetle:bug:beetle:: Please provide the steps to reproduce
output I get:
(testing) ➜ somethign git:(master) cdk
zsh: command not found: cdk
something happens, cdk command runs, but right now
What is the motivation / use case for changing the behavior or adding this feature?
I want to initialize a cdk project
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
zsh: command not found: cdk means the cdk did not run, probably because it wasn't found in path. You might have not installed it correctly. Since this is a support request, Github isn't the right place to ask.
You probably did not install cdk at all. Try
npm install -g aws-cdk
Closing. Please direct follow-up questions to StackOverflow.
ZSH doesn't take into account what you put in your path via bashrc. Typically, Node could be broken by ZSH installation, and so your cdk-cli. You have to put your NVM on your path by copy pasting bashrc into zshrc. That should repair node and cdk at the same time. I hope that helps
Most helpful comment
You probably did not install cdk at all. Try