chore: Updates to docs for new dev env
This commit is contained in:
parent
474188a05e
commit
8cd70bc451
37 changed files with 500 additions and 350 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Installing nvm
|
||||
order: 20
|
||||
order: 10
|
||||
---
|
||||
|
||||
FreeSewing is built with [Node.js](https://nodejs.org/), a JavaScript runtime.
|
||||
|
@ -9,14 +9,15 @@ 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_.
|
||||
|
||||
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:
|
||||
the node.js website, or from a package provided by your linux distribution:
|
||||
|
||||
- You can easily switch between different Node versions
|
||||
- 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, [follow the install instructions in the nvm
|
||||
README](https://github.com/nvm-sh/nvm#installing-and-updating).
|
||||
|
||||
To setup nvm, run the following command in a terminal window:
|
||||
The TL;DR: is to run the following command in a terminal:
|
||||
|
||||
```bash
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
||||
|
@ -38,7 +39,7 @@ If all goes well, it should show you the nvm help.
|
|||
|
||||
<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.
|
||||
If you get `nvm: command not found` or something similar, close the current terminal
|
||||
window, and open a new one. Now `nvm` should be found.
|
||||
|
||||
</Tip>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue