zoukankan      html  css  js  c++  java
  • Deepin 15.5上安装 Node.js

    Node.js 源码安装

    以下部分我们将介绍在Ubuntu Linux下安装 Node.js 。 其他的Linux系统,如Centos等类似如下安装步骤。

    在 Github 上获取 Node.js 源码:

    $ sudo git clone https://github.com/nodejs/node.git

    修改目录权限:

    $ sudo chmod a+x node

    使用 ./configure 创建编译文件,并按照:

    $ cd node
    $ sudo ./configure
    $ sudo make
    $ sudo make install

    apt-get命令安装

    命令格式如下:

    sudo apt-get install nodejs
    sudo apt-get install npm

    查看 node 版本:

    $ node -v
    $ npm -v

     

  • 相关阅读:
    foreach
    if
    注意事项
    Maven测试
    课程评价
    个人总结
    HTML表格CSS美化
    让多个输入框对齐
    CSS样式写在JSP代码中的几种方法
    日常
  • 原文地址:https://www.cnblogs.com/dinphy/p/9013238.html
Copyright © 2011-2022 走看看