1
0
Fork 0

Add link to nvm instructions and updated version

This commit is contained in:
jgfichte 2022-01-15 10:52:19 -05:00
parent d23b42912d
commit 336154d9a7

View file

@ -8,22 +8,24 @@ FreeSewing is built with [Node.js](https://nodejs.org/), a JavaScript runtime.
You'll need to install Node JS on your system, and to do so, we'll You'll need to install Node JS on your system, and to do so, we'll
use [nvm](https://github.com/nvm-sh/nvm), short for _Node version manager_. use [nvm](https://github.com/nvm-sh/nvm), short for _Node version manager_.
Using nvm has a number few benefits in comparison with installing Node from Using nvm has a number of benefits in comparison with installing Node from
the node.js website, or from a package providide by your linux distribution: the node.js website, or from a package provided by Homebrew or your OS distribution:
- You can easily switch between different Node versions - You can easily switch between different Node versions
- Everything gets installed in your home folder, avoiding permission problems - Everything gets installed in your home folder, avoiding permission problems
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.
To setup nvm, run the following command in a terminal window: To setup nvm, run the following command in a terminal window:
```bash ```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
``` ```
If you don't have `curl` on your system, here's an alternative approach using `wget`: If you don't have `curl` on your system, here's an alternative approach using `wget`:
```bash ```bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
``` ```
After the script is completed, try running the following command: After the script is completed, try running the following command: