Code Monkey home page Code Monkey logo

lq0910.github.io's Introduction

lq0910.github.io's People

Contributors

lq0910 avatar

Watchers

Lucian avatar  avatar

lq0910.github.io's Issues

linux 安装nvm方法

执行安装脚本

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

执行这两条命令就可以了。

常用链接

这里记录了一些常用到的链接。

日常使用:

常用资源站

  • wallspic 免费高清好看的壁纸下载站
  • yesicon 免费的svg图标下载

我的项目:

- name: LqBlog
- url: https://lq0910.github.io
- avatar: https://avatars.githubusercontent.com/u/19302074?v=4
- desc: 热爱coding,热爱生活,热爱人间一切。

申请前记得先添加本站哦~

关于

本人全栈开发攻城狮一枚,主前端,辅助做点后端和运维工作,平时喜欢各种折腾捣鼓,IT方面的都喜欢研究搞搞。

  • 2015年入行,当时完全小白一个,终生感谢我的导师龙哥带我入行。
  • 2016年至2020年入职一家教育类的创业公司,做前端开发工作将近4年。
  • 2021年公司团队解散后,一直跟着我的导师。从事项目管理和开发工作,主要做政府领域系统开发,偶尔做点产品。
  • 个人比较喜欢coding,期间开过很多博客,也在掘金这类平台上发过帖子。
  • 2024年7月13日再一次创建此博客,希望能坚持记录日常和工作的点点滴滴。
  • 特别感谢meekdai提供的博客建设支持。 meekdai
❤️感谢第小伙伴的次访问关于页面。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.