node.js升级
2016-07-20 00:05
330 查看
转载链接
检查 Node的当前版本,使用命令
清除npm cache
安装n模块
升级到最新版本/指定版本/最新稳定版本(该步骤可能需要花费一些时间)
检查 Node的当前版本,使用命令
node -v
清除npm cache
sudo npm cache clean -f
安装n模块
sudo npm install -g n
升级到最新版本/指定版本/最新稳定版本(该步骤可能需要花费一些时间)
sudo n lastest 最新版本 sudo n 6.6.6 指定版本 sudo n stable 最新稳定版本
相关文章推荐
- Nodejs从有门道无门菜鸟起飞必看教程
- Node.js如何自动审核团队的代码
- ubuntu下安装nodejs并配置环境
- node(一)安装nodejs最新版到debian,ubuntu,mint系统
- Nodejs从有门道无门菜鸟起飞教程。
- LeetCode:Remove Nth Node From End of List
- 查看inode、block使用情况
- Delete Node in a Linked List
- MonoDevelop 下debug代码不通过的一些问题解决方案
- LeetCode Swap Nodes in Pairs
- Node.js 优雅地自动审核团队的代码
- nodejs 封装自己的log模块
- node.js 日期格式化
- 利用generator(thunk化函数/promise方法)处理回调地狱的问题
- [LeetCode] 25. Reverse Nodes in k-Group
- Node.js 运行异常 ecplise
- node版本问题过低
- 237. Delete Node in a Linked List
- 【nodejs】nodejs之npm管理
- Leetcode Remove Nth Node From End of List