1
0
Fork 0
freesewing/markdown/dev/tutorials/getting-started-mac/installing-nvm/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.2 KiB

title order
Installing nvm 20

FreeSewing is built with Node.js, a JavaScript runtime.

You'll need to install Node JS on your system, and to do so, we'll use nvm, short for Node version manager.

Using nvm has a number few benefits in comparison with installing Node from the node.js website, or from a package providide by your linux distribution:

  • You can easily switch between different Node versions
  • Everything gets installed in your home folder, avoiding permission problems

To setup nvm, run the following command in a terminal window:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash

If you don't have curl on your system, here's an alternative approach using wget:

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash

After the script is completed, try running the following command:

nvm

If all goes well, it should show you the nvm help.

If you get nvm: command not found or something similar, close the Terminal application, and open a new one. Now nvm should be found.