Command 'cnpm' not found解决方法

在~/.bashrc后加上

export PATH=$PATH:/home/test/.npm-global/bin

绿色部分是我的路径,你可以替换成你的

 

参考链接:https://blog.csdn.net/m0_37263637/article/details/81942435

posted @ 2019-06-12 17:40  yuzhen0228  阅读(2678)  评论(0编辑  收藏  举报