Skip to content
破仑的博客
Go back

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

Share this post on:

Previous Post
Visual Studio Code 常用
Next Post
Python 代码段