Commit 616809c1 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[TASK] add node installation instructions for linux

parent e72924d2
......@@ -4,6 +4,8 @@
## Installation
* [Install Node](docs/INSTALL-NODE.md)
To use the sgalinski-generator you need to have node and npm installed. Furthermore, you should have
yeoman, gulp and bower installed globally. To do so, simply run
......
# Install Node
Depending on your Operating System, there are several ways to install Node. The recommended way is to install it via
NVM (Node Verison Manager).
## Linux
To install NVM, execute on of the following commands:
use curl:
```bash
$ curl https://raw.githubusercontent.com/creationix/nvm/v0.12.1/install.sh | bash
```
or wget:
```bash
$ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.12.1/install.sh | bash
```
Once the installation process finished, run the following command:
```bash
$ source ~/.profile
```
To install a specific version of Node, you can run 'nvm install [node-version]'. To install the latest stable version, run:
```bash
$ nvm install stable
```
Finally, to make 'stable' the default version, run:
```bash
$ nvm alias default stable
```
To test if the installation was successful, run
```bash
$ node -v
```
```bash
$ npm -v
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment