Install Latest Versions NodeJS NPM on ubuntu
2016-04-22 17:26
627 查看
Use NodeSource PPA. For details look at the installation instructions.
Alternatively, for Node.js v5:
P.S.:
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y nodejs
Alternatively, for Node.js v5:
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - sudo apt-get install -y nodejs
P.S.:
curlpackage must be installed on server for these code lines.
Upgrading
If you havenodejsalready installed and want to update, then first remove current instalation and install it again using scripts above.
sudo apt-get remove --purge nodejs npm
相关文章推荐
- 菜鸟学习nodejs--安装nodejs
- 欢迎使用CSDN-markdown编辑器
- NodeJS项目构建工具Grunt
- Pomelo网易开源基于Node.js的游戏服务器框架pomelo
- 从Node.js分裂出Io.js事件看开源软件谁做主
- nodejs php md5 加密不一致问题
- Node 究竟是什么
- Hadoop学习9--动态增加datanode
- node应用通过multer模块实现文件上传
- 关于NodeJS的Cookie和Session机制
- Windows环境下使用Node.js
- 旧版 npm 安装 node_modules 模块目录层次过深,导致 win 下无法删除
- MonoDevelop几个常用的快捷键
- Swap Two Nodes in Linked List
- NodeJs 常用工具
- RT-THREAD在IAR环境下使用finsh返回 Null node的解决办法
- node passport
- 为什么inode耗尽,而磁盘仍然有很大空间
- node.js 安装express 遇到的问题
- LeetCode之24----Swap Nodes in Pairs