Linux nodesource install

文档地址

Installation instructions

Node.js v12.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs

Node.js v11.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
sudo apt-get install -y nodejs# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_11.x | bash -
apt-get install -y nodejs

Node.js v10.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs

Node.js v8.x:

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_8.x | bash -
apt-get install -y nodejs

Optional: install build tools

To compile and install native addons from npm you may also need to install build tools:

# use `sudo` on Ubuntu or run this as root on debian
apt-get install -y build-essential

Manual installation

If you’re not a fan of curl <url> | bash -, or are using an unsupported distribution, you can try a manual installation.

These instructions assume sudo is present, however some distributions do not include this command by default, particularly those focused on a minimal environment. In this case, you should install sudo or su to root to run the commands directly.

使用脚本 Nodesource快速安装nodejs环境相关推荐

  1. 采用install.sh安装脚本进行快速安装astercc

    为什么80%的码农都做不了架构师?>>>    在asterisk里嵌入astercc最好的安装方法是脚本安装 采用install.sh安装脚本进行快速安装astercc 设置ins ...

  2. 菜鸟安装Nodejs环境

    菜鸟安装Nodejs环境 说明 一.nodejs下载 二.环境变量配置 三.关于npm 四.nodejs配置淘宝镜像 五.nodejs本地仓库和缓存 说明 前几天接触了一些前后端分离的知识,前后端分离 ...

  3. Vue2+VueRouter2+Webpack+Axios 构建项目实战2017重制版(二)安装 nodejs 环境以及 vue-cli 构建初始项目

    Vue2+VueRouter2+Webpack+Axios 构建项目实战2017重制版(二)安装 nodejs 环境以及 vue-cli 构建初始项目 在上一篇<Vue2+VueRouter2+ ...

  4. 快速安装LNMP环境

    现在,我们可以快速全自动搞定 CentOS + Nginx + PHP + MySQL 的安装了 比网上流传的什么一键安装包要好得多,强烈推荐此法安装,适合所有菜鸟和高手 这个装完已经包含 php 的 ...

  5. 关于新电脑快速安装开发环境

    首先说一说他们的关系,我们看视频的话首先电脑或者手机里首先要有一个播放器,而环境变量就像是播放器,Java程序就是我们的视频,而Java的各种开发工具就像是剪辑视频的软件: 一些工具如果因为网速下载过 ...

  6. 【物联网服务NodeJs-5天学习】第一天篇② —— 安装NodeJs环境以及VsCode开发工具

    [NodeJs-5天学习]第一天篇② -- 安装环境以及开发工具 1.Node.js环境安装 1.1 下载安装文件 1.2 安装步骤 1.3 常规配置,主要是NPM 1.3.1 查看配置 1.3.2 ...

  7. Ubuntu安装nodejs环境

    转载博客园:feiquan 此文是转载文章,此篇文章的版权归原创作者所属,如果侵权请与我联系,我会删除此文 第一步,去 nodejs 官网 https://nodejs.org 看最新的版本号: 也就 ...

  8. linux(ubuntu)上使用sdkman快速安装java环境,maven,gradle

    1.准备工作 准备一个可以连接外网的代理 这里假设你的代理ip为10.10.22.1:10808 2.在linux设置代理(这里设置的是临时的,每次打开重置) export https_proxy=h ...

  9. 如何在Linux中使用LNMP一键安装包快速安装LNMP环境

    先看看 LNMP安装教程 https://lnmp.org/install.html 安装步骤: 1.使用putty或类似的SSH工具登陆VPS或服务器: 登陆后运行:screen -S lnmp 如 ...

  10. windows bat脚本实现快速配置JDK 环境变量

    %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe"," ...

最新文章

  1. GPB|农业生产活动对水体微生态的重要影响(一作解读)
  2. h5中的结构元素header、nav、article、aside、section、footer详解
  3. yoman不压缩html,使用Yeoman构建vuejs
  4. hostswap dcevm
  5. 危机永远回来,只是什么时候的问题
  6. Qt网络程序:基于TCP的服务器、客户端实例
  7. 【caffe-matlab】使用matlab训练caffe及绘制loss
  8. 201521123004《软件工程》个人阅读作业1
  9. java轮询文件停止线程,java 运行多线程轮询时,外部停止轮询
  10. 【Kafka】kafka-eagle几个指标含义
  11. eBPF and IO Visor: The what, how, and what next!
  12. ucc编译器(x86移植)
  13. [译] 美国证券法对 ICO 及相关 Fund 的最新动态
  14. 重心选址法matlab,在运用重心法选址时,需要已知哪些变量? 答案:物流量物流点坐标...
  15. 学习日志day44(2021-09-08)(1、Ajax跨域操作 2、Ajax接收json数据 3、JQuery和Ajax 4、使用JavaScript模板简化操作)
  16. 10015---技术栈
  17. CheckForIllegalCrossThreadCalls = false
  18. 移动端click事件无反应或反应慢 touchend事件页面滑动时频繁触发
  19. 开水果店前期投入,水果店会有哪些费用
  20. koa 中间件洋葱模型源码分析

热门文章

  1. DPDK 实现的不完全笔记
  2. html5 css练习 定位布局
  3. JAVA编程思想读书笔记(五)--多线程
  4. Spire.Doc 教程:在C#,VB.NET创建、编辑和保存Word
  5. jquery实现上拉加载更多
  6. 数据库的三才阵——地
  7. [css]通过transform缩放邮件客户端h5页面
  8. 计算机专业务必学好的基本课程
  9. 关于Eclipse(MyEclipse)中一次性批量导入多个项目Project.
  10. [2178]链表的有序集合 (链表的插排法+重复元素的删除) SDUT