Last active
July 31, 2019 14:47
-
-
Save look4regev/e5e96554948b7a89de30be101ba32f1c to your computer and use it in GitHub Desktop.
Installs basic dev tools for MacOS
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
#!/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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brew cask install google-chrome