Skip to content

Instantly share code, notes, and snippets.

@3esmit 3esmit/embark_install.sh
Last active Jan 8, 2019

Embed
What would you like to do?
embark (ethereum development framework) install snippet for ubuntu 18.10
#!/usr/bin/env bash
NVM_LINK="https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh"
GETH_LINK="https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-amd64-1.8.20-24d727b6.tar.gz"
IPFS_LINK="https://dist.ipfs.io/go-ipfs/v0.4.18/go-ipfs_v0.4.18_linux-amd64.tar.gz"
# Install NVM
wget -qO- $NVM_LINK | bash
source ~/.bashrc
# Install Node
nvm install --lts
nvm use --lts
# Install Geth
wget -qO- $GETH_LINK | tar -xz
rm ./geth-alltools-linux-amd64-1.8.20-24d727b6/COPYING
sudo mv ./geth-alltools-linux-amd64-1.8.20-24d727b6/* /usr/local/bin
# Install IPFS
wget -qO- $IPFS_LINK | tar -xz
cd ./go-ipfs/
sudo ./install.sh
cd ..
# Install build essential (needed for building dependencies in npm install)
sudo apt-get install python build-essential -y
# Install embark
npm install -g embark@next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.