53 lines
1.4 KiB
Markdown
53 lines
1.4 KiB
Markdown
|
# Installation
|
|||
|
## Check your environment
|
|||
|
Prior to installing Embark, you should have the following prerequisites on your machine:
|
|||
|
#### NodeJS 8.10+
|
|||
|
```
|
|||
|
node version
|
|||
|
> 8.10+
|
|||
|
```
|
|||
|
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:
|
|||
|
```
|
|||
|
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
|
|||
|
nvm install --lts
|
|||
|
nvm use lts
|
|||
|
```
|
|||
|
#### IPFS 0.4.15+
|
|||
|
```
|
|||
|
ipfs version
|
|||
|
> 0.4.15+
|
|||
|
```
|
|||
|
[IPFS installation instructions](https://ipfs.io/docs/install/#installing-from-a-prebuilt-package), macOS/Linux command provided for you below:
|
|||
|
```
|
|||
|
tar xvfz go-ipfs.tar.gz
|
|||
|
cd go-ipfs
|
|||
|
./install.sh
|
|||
|
ipfs init
|
|||
|
```
|
|||
|
|
|||
|
#### Go-ethereum 1.8.11+
|
|||
|
```
|
|||
|
geth version
|
|||
|
> 1.8.11+
|
|||
|
```
|
|||
|
If you need to [install `geth`](https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum), you can use the below for macOS:
|
|||
|
```
|
|||
|
brew tap ethereum/ethereum
|
|||
|
brew install ethereum
|
|||
|
```
|
|||
|
## Installing Embark 3.1.7
|
|||
|
If you already have Embark installed, please run:
|
|||
|
```
|
|||
|
embark version
|
|||
|
```
|
|||
|
|
|||
|
Make sure the version is `3.1.7`. If it’s not, re-install Embark by running:
|
|||
|
```
|
|||
|
npm install -g embark
|
|||
|
```
|
|||
|
> Do not use sudo when installing Embark
|
|||
|
|
|||
|
Re-run `embark version` to ensure we have `3.1.7`.
|
|||
|
|
|||
|
If you have not installed Embark at all, Embark can be installed by running
|
|||
|
`npm install -g embark` (without sudo)
|