Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Setup initial environment on Ubuntu 16.04 LTS
# Install Node 6.x (
curl -sL | sudo -E bash -
sudo apt-get install -y nodejs
node -v
# Install yarn (
curl -sS | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install -y yarn
yarn -v
# Install npm
sudo apt-get install -y npm
npm -v
# Install react native client (
sudo npm install -g react-native-cli
# Install watchman
sudo apt-get install -y autoconf automake build-essential python-dev
git clone
cd watchman
git checkout v4.7.0 # the latest stable release
sudo make install
cd ..
sudo rm -rf watchman
watchman -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment