ToB企服应用市场:ToB评测及商务社交产业平台

标题: ubuntu安装nvm浅易版 [打印本页]

作者: 惊雷无声    时间: 2024-9-24 17:11
标题: ubuntu安装nvm浅易版
  1. sudo apt-get update
  2. sudo apt-get install build-essential libssl-dev
复制代码
  1. curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.39.1/install.sh | bash
复制代码
This will download the nvm installation script and run it.
  1. source ~/.nvm/nvm.sh
复制代码
  1. source ~/.bashrc
复制代码
(or source ~/.zshrc if you’re using zsh)
  1. nvm --version
复制代码
This should display the version of nvm that you just installed.
That’s it! You should now be able to use nvm to manage multiple versions of Node.js on your Ubuntu system.
Note: If you’re using a newer version of Ubuntu, you may need to use the curl command with the -s flag to suppress the progress meter, like this:
  1. curl -s -o- https://raw.githubusercontent.com/creationix/nvm/v0.39.1/install.sh | bash
复制代码
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) Powered by Discuz! X3.4