Skip to content

Instantly share code, notes, and snippets.

@gerarldlee
Last active August 21, 2019 06:59
Show Gist options
  • Save gerarldlee/ff5790a796b48c14a16bbd49757bb461 to your computer and use it in GitHub Desktop.
Save gerarldlee/ff5790a796b48c14a16bbd49757bb461 to your computer and use it in GitHub Desktop.
Prerequisites:
On Fedora 25 Workstation
------------------------
sudo dnf install @developer-workstation-environment
On Ubuntu 16.04 LTS
------------------------
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
Installing Linuxbrew
------------------------
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
Edit .bashrc
export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
export PKG_CONFIG_PATH="/usr/share/pkgconfig:$PKG_CONFIG_PATH"
source .bashrc
brew doctor
brew update
Installing Node.js and NPM
------------------------
brew install node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment