dreddit-dapp/instructions/1 Installation.md
2018-10-09 17:49:48 -04:00

53 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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.17+
```
ipfs version
> 0.4.17+
```
[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.15+
```
geth version
> 1.8.15+
```
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.2.2
If you already have Embark installed, please run:
```
embark version
```
Make sure the version is `3.2.2`. 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.2.2`.
If you have not installed Embark at all, Embark can be installed by running
`npm install -g embark` (without sudo)