1
0
Fork 0
freesewing/markdown/dev/tutorials/getting-started-linux/node-versions/en.md
Joost De Cock b34a2ee2ed feat: Flat import of markdown repo
This is a flat (without history) import of (some of) the content
from our markdown module.

We've imported this without history because the repo contains our
blog posts and showcases posts content prior to porting them to strapi.

Since this contains many images, it would balloon the size of this repo
to import the full history.

Instead, please refer to the history of the (archived) markdown repo
at: https://github.com/freesewing/markdown
2021-08-25 16:09:31 +02:00

1.3 KiB

title order
Using a different Node version 30

Now that you've got Node 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.

nvm ls

To see the different Node versions on your system, run this command:

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. 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, run this command:

nvm ls-remote

Nvm will now spit out a long list of Node versions that you can install.

nvm install

For any of these versions, either local or remote, you can install them by making a note of the version or alias and running this command:

nvm install <version-or-alias>

nvm use

With multiple Node versions installed, nvm allows you to switch between different versions. Just tell it which version you want to use:

nvm use v10.22.1

If you picked a version that is not installed, nvm will simply tell you and even suggest the command you should type to install it. Handy!