Skip to content

Instantly share code, notes, and snippets.

@mshavliuk
Last active November 17, 2019 21:56
Show Gist options
  • Select an option

  • Save mshavliuk/c8814e4d76fb7b4cb5878bfa5d5c8e45 to your computer and use it in GitHub Desktop.

Select an option

Save mshavliuk/c8814e4d76fb7b4cb5878bfa5d5c8e45 to your computer and use it in GitHub Desktop.
This script will help you initialized workplace just at once
#!/usr/bin/env bash
if ! [ -x "$(command -v brew)" ]; then
echo "brew not found. Install brew..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew update
brew upgrade
>> ~/.bash_profile
echo "Install runtime dependencies..."
# https://www.python.org/ - backend runtime
brew install python
# https://yarnpkg.com/ - node package manager
brew install yarn
# https://git-scm.com/ - version control system
brew install git
# https://redis.io/ - in memory db
brew install redis@5
# https://www.postgresql.org/ - database
brew install postgresql@11
# https://github.com/Schniz/fnm - is a node version manager
brew install Schniz/tap/fnm
# https://direnv.net/ - environment variables tool
brew install direnv
echo 'eval "$(direnv hook bash)"' >> ~/.bash_profile
# https://pypi.org/project/pip/ - package installer for Python
sudo easy_install pip
echo "Install runtime dependencies completed!"
echo "Install programs..."
# https://www.jetbrains.com/pycharm/ - fullstack IDE
brew cask install pycharm
# https://www.jetbrains.com/webstorm/ - frontend IDE
brew cask install webstorm
# https://www.sublimetext.com/ - lightweight IDE
brew cask install sublime-text
# https://code.visualstudio.com/ - frontend IDE
brew cask install visual-studio-code
# https://1password.com/ - password manager
brew cask install 1password
# https://telegram.org/ - messenger
brew cask install telegram
# https://www.google.com/chrome/ - web browser
brew cask install google-chrome
echo "Install programs completed!"
brew cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment