Last active
May 20, 2017 21:23
-
-
Save Gaafar/ccbabbb9fa7584f375ee7e77a64d20c6 to your computer and use it in GitHub Desktop.
machine setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install zsh | |
sudo apt-get update | |
sudo apt-get install zsh git -y | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
chsh -s $(which zsh) | |
# manual: edit theme in ~/.zshrc to "clean" | |
# ssh-key | |
ssh-keygen -t rsa | |
# docker & docker compose | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo apt-get update | |
sudo apt-get install docker-ce -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run | |
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/Gaafar/ccbabbb9fa7584f375ee7e77a64d20c6/raw/mac.sh)" | |
# install zsh | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# manual: edit theme in ~/.zshrc to "clean" | |
# brew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# node | |
brew install node | |
# nvm | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash | |
# yarn | |
brew install yarn | |
# node globals | |
npm i -g nodemon | |
# ssh-key | |
ssh-keygen -t rsa | |
# create dirs | |
mkdir -p ~/org/proj | |
mkdir -p ~/org/lab | |
# apps | |
curl -s 'http://macapps.link/en/sourcetree-sublime-atom-unarchiver-vlc-gimp' | sh | |
# chrome | |
open 'https://www.google.com/chrome/browser/desktop/index.html?platform=mac&extra=devchannel' | |
# docker | |
open 'https://www.docker.com/products/docker#/mac' | |
# franz | |
open 'http://meetfranz.com/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment