Skip to content

Instantly share code, notes, and snippets.

@felipemfp
Last active December 14, 2017 19:53
Show Gist options
  • Save felipemfp/6d3917d9273ce48ee88d112b285f8a8b to your computer and use it in GitHub Desktop.
Save felipemfp/6d3917d9273ce48ee88d112b285f8a8b to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -e
# Installing yarn on Ubuntu or Debian
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
yarn --version
# Installing create-react-native-app
yarn global add create-react-native-app
create-react-native-app --version
# Extra configuration
echo "fs.inotify.max_user_instances=1024" | sudo tee -a /etc/sysctl.conf
echo "fs.inotify.max_user_watches=12288" | sudo tee -a /etc/sysctl.conf
# Installing vscode
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get update
sudo apt-get install code
@felipemfp
Copy link
Author

felipemfp commented Dec 13, 2017

HOWTO

curl -o- https://gist.githubusercontent.com/felipemfp/6d3917d9273ce48ee88d112b285f8a8b/raw/c844c310e7b7ba5d01c9e5d5aa1fa3d0f2fcbe6c/install.sh | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment