dappcon-workshop-dapp/instructions/1 Installation.md

54 lines
1.4 KiB
Markdown
Raw Normal View History

# Installation
## Check your environment
Prior to installing Embark, you should have the following prerequisites on your machine:
#### NodeJS 8.10+
```
node version
2018-07-19 13:02:26 +00:00
> 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
2018-07-19 13:02:26 +00:00
> 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
```
2018-07-19 13:02:26 +00:00
#### Go-ethereum 1.8.11+
```
geth version
2018-07-19 13:02:26 +00:00
> 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.6
If you already have Embark installed, please run:
```
embark version
```
Make sure the version is `3.1.6`. If its 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.6`.
If you have not installed Embark at all, Embark can be installed by running
2018-07-19 13:02:26 +00:00
`npm install -g embark` (without sudo)