1
0
Fork 0

fix(docs): Tutorials updates and corrections

This commit is contained in:
Benjamin F 2022-12-29 06:25:01 -08:00
parent 1634f986c4
commit dcb4b17032
23 changed files with 117 additions and 94 deletions

View file

@ -1,36 +1,36 @@
---
title: Using a different Node version
title: Using a different Node.js version
order: 30
---
Now that you've got Node setup, we can start setting up the FreeSewing
Now that you've got Node.js setup, we can start setting up the FreeSewing
development environment.
But before doing so, let's look at how `nvm` can help you juggle different
Node versions.
Node.js versions.
### nvm ls
To see the different Node versions on your system, run this command:
To see the different Node.js versions on your system, run this command:
```bash
nvm ls
```
It will show you a list of local node versions.
Either the version number, or an _alias_ that points to a specific version.
It will show you a list of local Node.js versions,
either the version number or an _alias_ that points to a specific version.
You should see the `lts/*` alias in the list which is what we've just installed.
### nvm ls-remote
To see all Node versions that are available, not just those you have locally,
To see all Node.js versions that are available, not just those you have locally,
run this command:
```bash
nvm ls-remote
```
Nvm will now spit out a long list of Node versions that you can install.
It will spit out a long list of Node.js versions that you can install.
### nvm install
@ -43,7 +43,7 @@ nvm install <version-or-alias>
### nvm use
With multiple Node versions installed, `nvm` allows you to switch between different
With multiple Node.js versions installed, `nvm` allows you to switch between different
versions. Just tell it which version you want to use:
```bash