Skip to content

Instantly share code, notes, and snippets.

@jibaku
Last active July 1, 2021 16:18
Show Gist options
  • Save jibaku/15e8d27e19aaf40f2a98 to your computer and use it in GitHub Desktop.
Save jibaku/15e8d27e19aaf40f2a98 to your computer and use it in GitHub Desktop.
Install OSX as dev
# Install xcode and brew
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap caskroom/cask
# code
brew install docker docker-compose docker-machine docker-machine-driver-xhyve
brew install git postgresql
brew install golang
# apps
brew install --cask 1password
brew install --cask atom
brew install --cask dropbox
brew install --cask firefox
brew install --cask google-chrome
brew install --cask grandperspective
brew install --cask handbrake
brew install --cask java
brew install --cask mplayerx
brew install --cask sourcetree
brew install --cask spotify
# Python
brew install python python3
pip install --upgrade pip setuptools
pip3 install --upgrade pip setuptools
pip install virtualenv virtualenvwrapper pep8 flake8 isort
pip2.7 install virtualenv virtualenvwrapper pep8 flake8 isort
# atom related
apm install atom-django
apm install linter
# python related APM modules
apm install linter-flake8
apm install autocomplete-python
apm install python-isort
apm install python-tools
# setup docker
# docker-machine-driver-xhyve need root owner and uid
sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
# create "default" machine with xhyve as driver
docker-machine create --driver xhyve default
#prezto
zsh
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
chsh -s /bin/zsh
brew install heroku-toolbelt
brew install fish
sudo vi /etc/shells
fabienschwob@MBP-de-Fabien ~ % chsh -s /usr/local/bin/fish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment