shuo-docs/Installing-Shuo.md

84 lines
1.2 KiB
Markdown

Shuo requires [nodejs](http://nodejs.org/) and [npm](https://www.npmjs.org/). If you already have them installed on your system, go ahead and install Shuo:
```
$ sudo npm -g install shou
```
And if you don't — pick your operating system below:
## Linux
### Step 1:
Install the requirements using apt-get:
```
$ sudo apt-get -y install nodejs-legacy npm
```
### Step 2:
Install Shou:
```
$ sudo npm install -g shou
```
## Mac OSX
### Step 1:
Install [Homebrew](http://brew.sh/).
Copy and paste this snippet into your terminal:
```
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
### Step 2:
Install [nodejs](http://nodejs.org):
```
$ brew install nodejs
```
### Step 3:
Install Shou:
```
$ sudo npm -g install shou
```
## Windows
### Step 1:
Install [Chocolatey](https://chocolatey.org/).
### Step 2:
Open the Command Prompt as __administrator__ and run this command:
```
choco install nodejs.install
```
### Step 3:
Now close your Command Prompt and open the `Node.js Command Prompt` that was just installed on your computer.
### Step 4:
Install Shou:
```
npm install -g shou
```
# Install complete
When you're done installing Shuo, go ahead to [[the next section|Usage]]