Skip to content

Instantly share code, notes, and snippets.

@look4regev
Last active July 31, 2019 14:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save look4regev/e5e96554948b7a89de30be101ba32f1c to your computer and use it in GitHub Desktop.
Save look4regev/e5e96554948b7a89de30be101ba32f1c to your computer and use it in GitHub Desktop.
Installs basic dev tools for MacOS
#!/bin/bash
echo "Installing brew (MacOS package manager)"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "Installing needed tools for development"
brew install gcc asdf coreutils gpg zlib mongodb rabbitmq yarn libxmlsec1 git cask zsh pkg-config readline openssl
echo "Install python and node with asdf"
source /usr/local/opt/asdf/asdf.sh
echo "source /usr/local/opt/asdf/asdf.sh" >> ~/.zshrc
asdf plugin-add python
asdf plugin-add nodejs
bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring
asdf install nodejs 10.15.1
CPPFLAGS="-I$(brew --prefix zlib)/include" asdf install python 2.7.14
CPPFLAGS="-I$(brew --prefix zlib)/include" asdf install python 3.7.3
asdf global nodejs 10.15.1
asdf global python 3.7.3
echo "Install cask tools"
brew cask install viscosity iterm2 sublime-text docker google-chrome
echo "Start mongodb and rabbitmq"
brew services start mongodb
brew services start rabbitmq
echo "Install virtualenvwrapper needed to work best with packages in Python"
pip install virtualenvwrapper
echo "Done"
@gaizeror
Copy link

brew cask install google-chrome

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