Skip to content

Instantly share code, notes, and snippets.

@3esmit
Last active January 8, 2019 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3esmit/b1320ba5d7fb0cf3ac82b7e3179c9dc0 to your computer and use it in GitHub Desktop.
Save 3esmit/b1320ba5d7fb0cf3ac82b7e3179c9dc0 to your computer and use it in GitHub Desktop.
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