Skip to content

Update setup-on-wsl2.md - nvm install --lts - typo correction #2815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update setup-on-wsl2.md
From: https://github.com/nvm-sh/nvm
README.md

Long-term Support
Node has a schedule for long-term support (LTS) You can reference LTS versions in aliases and .nvmrc files with the notation lts/* for the latest LTS, and lts/argon for LTS releases from the "argon" line, for example. In addition, the following commands support LTS arguments:

nvm install --lts
  • Loading branch information
bc1121 authored Nov 17, 2020
commit 4cc186593fecb30f67b1c45621ea5a9d0d6d661d
2 changes: 1 addition & 1 deletion hub/nodejs/setup-on-wsl2.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Installing the newer version of NVM using cURL will replace the older one, leavi
![NVM list showing no Node versions](../images/nvm-no-node.png)

6. Install the current release of Node.js (for testing the newest feature improvements, but more likely to have issues): `nvm install node`
7. Install the latest stable LTS release of Node.js (recommended): `nvm install node --lts`
7. Install the latest stable LTS release of Node.js (recommended): `nvm install --lts`
8. List what versions of Node are installed: `nvm ls` ...now you should see the two versions that you just installed listed.

![NVM list showing LTS and Current Node versions](../images/nvm-node-installed.png)
Expand Down