Last active
February 15, 2017 03:42
-
-
Save apprentice1988/5c443e50d496c66a910e to your computer and use it in GitHub Desktop.
升级 npm 和 node 版本
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo npm update npm -g | |
sudo npm cache clean -f | |
sudo npm install -g n | |
sudo n stable |
照着你的命令,报错了 😂
it should be sudo npm update -g.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
照着你的命令,报错了 😂