Last active
May 1, 2025 16:03
-
-
Save MichaelCurrin/5c2d59b2bad4573b26d0388b05ab560e to your computer and use it in GitHub Desktop.
Revisions
-
MichaelCurrin revised this gist
Oct 17, 2022 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,8 @@ **Install Node using NVM** A guide to using NVM to install versions of Node. If you don't have NVM yet, see [Install NVM](https://gist.github.com/MichaelCurrin/662f5b5ad93699b112b7de4c10991bda) gist. 1. Install a target Node.js version. A short version will do. ```sh -
MichaelCurrin revised this gist
Jun 28, 2021 . No changes.There are no files selected for viewing
-
MichaelCurrin renamed this gist
Jun 10, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ **Install Node using NVM** A guide to using NVM to install versions of Node. 1. Install a target Node.js version. A short version will do. ```sh @@ -57,4 +57,4 @@ A guide to using NVM. You can install more versions side by side and choose to activate any given one. You can also set a _default_ version so a new terminal starts with a given version activated. changing to use another version won't affect the default or other terminals. -
MichaelCurrin revised this gist
Oct 1, 2020 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,11 +2,11 @@ A guide to using NVM. 1. Install a target Node.js version. A short version will do. ```sh $ nvm install 14 ``` 1. Select the installed version. ```sh $ nvm use 14 Now using node v14.9.0 (npm v6.14.8) @@ -21,7 +21,7 @@ A guide to using NVM. $ which node /Users/mcurrin/.nvm/versions/node/v14.9.0/bin/node ``` 1. List available installed versions. ```sh $ nvm ls v10.0.0 -
MichaelCurrin created this gist
Oct 1, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,60 @@ **Setup Node using NVM** A guide to using NVM. 1. Install a target Node.js version. ```sh $ nvm install 14 ``` 1. Select the installed version. You can don't have to enter the entire version number. ```sh $ nvm use 14 Now using node v14.9.0 (npm v6.14.8) ``` 1. Check that your target Node.js version works. ```sh $ node -v v14.9.0 $ npm -v 6.14.8 $ which node /Users/mcurrin/.nvm/versions/node/v14.9.0/bin/node ``` 1. List available versions installed. ```sh $ nvm ls v10.0.0 v10.15.0 v14.9.0 -> system default -> node (-> v14.9.0) ... ``` 1. List versions which can be installed. ```sh $ nvm ls-remote ``` That is very long, so you can use a grep pattern instead. ```sh $ nvm ls-remote 14 v14.0.0 v14.1.0 v14.2.0 v14.3.0 v14.4.0 v14.5.0 v14.6.0 v14.7.0 v14.8.0 v14.9.0 v14.10.0 v14.10.1 v14.11.0 v14.12.0 v14.13.0 ``` You can install more versions side by side and choose to activate any given one. You can also set a _default_ version so a new terminal starts with a given version activated. changing to use another version won't affect the default or other terminals.