跳转到内容
破仑的博客
返回

Node 备忘

nvm

From: https://stackoverflow.com/questions/21215059/cant-use-nvm-from-root-or-sudo

# run this
n=$(which node); \
n=${n%/bin/node}; \
chmod -R 755 $n/bin/*; \
sudo cp -r $n/{bin,lib,share} /usr/local

分享到:

上一篇
Visual Studio Code 常用
下一篇
Python 代码段