lq0910 / lq0910.github.io Goto Github PK
View Code? Open in Web Editor NEWLqBlog is a Blog All in Github
Home Page: https://lq0910.github.io/
LqBlog is a Blog All in Github
Home Page: https://lq0910.github.io/
执行安装脚本
sudo apt install curl
curl https://raw.gitmirror.com/creationix/nvm/master/install.sh | bash
如果报443执行下面命令
git config --global --unset http.proxy
git config --global --unset https.proxy
环境变量生效
source ~/.bashrc
检验是否安装成功
nvm -v
查看可在线安装的NodeJS版本
nvm list available
Example:
nvm install 8.0.0 Install a specific version number
nvm use 8.0 Use the latest available 8.0.x release
nvm run 6.10.3 app.js Run app.js using node 6.10.3
nvm exec 4.8.3 node app.js Run `node app.js` with the PATH pointing to node 4.8.3
nvm alias default 8.1.0 Set default node version on a shell
nvm alias default node Always default to the latest available node version on a shell
nvm install node Install the latest available version
nvm use node Use the latest version
nvm install --lts Install the latest LTS version
nvm use --lts Use the latest LTS version
nvm set-colors cgYmW Set text colors to cyan, green, bold yellow, magenta, and white
示例
比如:我要使用12.18.1
nvm install 12.18.1
比如:我要使用16.15.0
nvm install node -v
v12.18.1
现在想换回12.18.1
nvm use 12.18.1
查看当前所使用的版本:
node -v
v12.18.1
永久默认
使用的过程中我发现,使用以下命令后,只能临时有效。重新打开新的终端版本又变回原来的了。
nvm use 12.22.0
如果让设置永久生效呢?nvm alias default xx.xx.x
nvm use 12.22.0
nvm alias default 12.22.0
执行这两条命令就可以了。
这里记录了一些常用到的链接。
日常使用:
- [GitHub](https://github.com/ GitHub
- deepin论坛 deepin 一个国产的优秀linux发行版。
- 少数派 少数派 - 高效工作,品质生活
- IT之家 IT之家
常用资源站
我的项目:
- name: LqBlog - url: https://lq0910.github.io - avatar: https://avatars.githubusercontent.com/u/19302074?v=4 - desc: 热爱coding,热爱生活,热爱人间一切。
申请前记得先添加本站哦~
「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
支持游戏加速,GitHub加速,多平台支持。
官网链接: Watt Toolkit
❤️感谢第小伙伴的次访问关于页面。本人全栈开发攻城狮一枚,主前端,辅助做点后端和运维工作,平时喜欢各种折腾捣鼓,IT方面的都喜欢研究搞搞。
- 2015年入行,当时完全小白一个,终生感谢我的导师龙哥带我入行。
- 2016年至2020年入职一家教育类的创业公司,做前端开发工作将近4年。
- 2021年公司团队解散后,一直跟着我的导师。从事项目管理和开发工作,主要做政府领域系统开发,偶尔做点产品。
- 个人比较喜欢coding,期间开过很多博客,也在掘金这类平台上发过帖子。
- 2024年7月13日再一次创建此博客,希望能坚持记录日常和工作的点点滴滴。
- 特别感谢meekdai提供的博客建设支持。 meekdai
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.