我正在尝试安装 aws-cdk 并在终端中运行npm install -g aws-cdk
. 如此处所述 npm 运行后,我得到:
/usr/local/Cellar/node/9.8.0/bin/cdk -> /usr/local/Cellar/node/9.8.0/lib/node_modules/aws-cdk/bin/cdk
+ aws-cdk@0.31.0
updated 1 package in 1.636s
如果我尝试跑步,cdk
我会得到:
zsh: command not found: cdk