zoukankan      html  css  js  c++  java
  • 安装nvm-nvm: command not found

    1、nvm官网:https://github.com/creationix/nvm

    2、控制台输入命令:curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash

    3、打印信息:

    => Close and reopen your terminal to start using nvm or run the following to use it now:

     

    export NVM_DIR="$HOME/.nvm"

    [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm

     

    4、控制台输入:

     

    export NVM_DIR="$HOME/.nvm"

    [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm

     

    5、控制台输入:nvm

      控制台显示:Node Version Manager

     

    即安装nvm成功

     

    6、安装版本

     

     

    控制台输入:nvm install 0.11.13

     

    控制台输出:Downloading and installing node v0.11.13...

     

    Downloading https://nodejs.org/dist/v0.11.13/node-v0.11.13-darwin-x64.tar.gz...

     

    ######################################################################## 100.0%

     

    Computing checksum with shasum -a 256

     

    Checksums matched!

     

    Now using node v0.11.13 (npm v1.4.9)

     

    Creating default alias: default -> 0.11.13 (-> v0.11.13)

     

  • 相关阅读:
    kbmmw 5.14.00 发布
    关于C++ auto使用要注意的一点
    git设置socks5代理
    电子书分享网站
    spring cache相关
    intellij idea开启debug热加载/热部署
    git 多次commit合并成一次提交
    es feature一览
    数据中台
    Java Agent
  • 原文地址:https://www.cnblogs.com/songya/p/11294092.html
Copyright © 2011-2022 走看看