2021-10-17 18:26:00 +02:00
---
2021-08-25 16:09:31 +02:00
title: Installing nvm
order: 20
2021-10-17 18:26:00 +02:00
---
2021-08-25 16:09:31 +02:00
FreeSewing is built with [Node.js ](https://nodejs.org/ ), a JavaScript runtime.
2022-02-19 08:04:25 +01:00
You'll need to install Node JS on your system, and to do so, we'll
2022-02-20 14:35:50 +01:00
use [nvm ](https://github.com/nvm-sh/nvm ), short for _Node version manager_ .
2021-08-25 16:09:31 +02:00
2022-01-15 10:52:19 -05:00
Using nvm has a number of benefits in comparison with installing Node from
the node.js website, or from a package provided by Homebrew or your OS distribution:
2021-08-25 16:09:31 +02:00
2022-02-20 14:44:38 +01:00
- You can easily switch between different Node versions
- Everything gets installed in your home folder, avoiding permission problems
2021-08-25 16:09:31 +02:00
2022-02-19 08:04:25 +01:00
The latest instructions for setting up nvm can be found [here ](https://github.com/nvm-sh/nvm#installing-and-updating ). If you want to just skip to the commands that most likely work, keep reading.
2022-01-15 10:52:19 -05:00
2021-08-25 16:09:31 +02:00
To setup nvm, run the following command in a terminal window:
```bash
2022-01-15 10:52:19 -05:00
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
2021-08-25 16:09:31 +02:00
```
If you don't have `curl` on your system, here's an alternative approach using `wget` :
```bash
2022-01-15 10:52:19 -05:00
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
2021-08-25 16:09:31 +02:00
```
After the script is completed, try running the following command:
```bash
nvm
```
2022-02-19 08:04:25 +01:00
If all goes well, it should show you the nvm help.
2021-08-25 16:09:31 +02:00
< Tip >
If you get `nvm: command not found` or something similar, close the Terminal
application, and open a new one. Now `nvm` should be found.
< / Tip >