/ instructions / 1 Installation.md
1 Installation.md
1 # Installation 2 ## Check your environment 3 Prior to installing Embark, you should have the following prerequisites on your machine: 4 #### NodeJS v8.12+ / NPM v6.4.1+ 5 ``` 6 node version 7 > 8.12+ 8 npm version 9 > 6.4.1 10 ``` 11 If you need to update Node, please [install `nvm`](https://github.com/creationix/nvm#installation) and install/use the LTS version. macOS/Linux commands provided for you below: 12 ``` 13 curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash 14 nvm install --lts 15 nvm use lts 16 ``` 17 #### IPFS v0.4.17+ 18 ``` 19 ipfs version 20 > 0.4.17+ 21 ``` 22 [IPFS installation instructions](https://ipfs.io/docs/install/#installing-from-a-prebuilt-package), macOS/Linux command provided for you below: 23 ``` 24 tar xvfz go-ipfs.tar.gz 25 cd go-ipfs 26 ./install.sh 27 ipfs init 28 ``` 29 30 #### Go-ethereum 1.8.15+ 31 ``` 32 geth version 33 > 1.8.15+ 34 ``` 35 If you need to [install `geth`](https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum), you can use the below for macOS: 36 ``` 37 brew tap ethereum/ethereum 38 brew install ethereum 39 ``` 40 ## Installing Embark 4.0.0-alpha 41 If you already have Embark installed, please run: 42 ``` 43 embark version 44 ``` 45 46 Make sure the version is `4.0.0-alpha.1` or greater. If it’s not, re-install Embark by running: 47 ``` 48 npm install -g embark@next 49 ``` 50 > Do not use sudo when installing Embark 51 52 Re-run `embark version` to ensure we have `4.0.0-alpha.1` or higher. 53 54 If you have not installed Embark at all, Embark can be installed by running 55 `npm install -g embark@next` (without sudo)