cnpmのインストール後にcnpmコマンドが見つからない

npm install cnpm -g --registry = https://registry.npm.taobao.org

C:\ Users \ username \ AppData \ Roaming \ npmディレクトリをシステム環境変数Pathに追加して、再起動します。

おすすめ

転載: www.cnblogs.com/xybs/p/12682085.html