zoukankan      html  css  js  c++  java
  • ubuntu 16.04 安装node.js 8.x

    引自 https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04#how-to-install-using-a-ppa

    按很多方法装都是装的v4.2.6,用一下方法终于成功安装8.11.2。

    $ curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
    $ sudo bash nodesource_setup.sh
    $ sudo apt-get install nodejs
    $ nodejs -v
    v8.11.2
    $ npm -v
    5.6.0

    为了使一些npm包能够工作(例如那些需要从源代码编译代码的包),您需要安装build-essential包:

    $ sudo apt-get install build-essential

    您现在有必要的工具来处理需要从源代码编译代码的npm包。

  • 相关阅读:
    什么是IOC
    spring的作用
    什么是spring框架?
    72
    71
    70
    69
    68
    67
    66
  • 原文地址:https://www.cnblogs.com/sclczk/p/9084764.html
Copyright © 2011-2022 走看看