Last active
June 15, 2021 16:55
-
-
Save freshlogic/3cc0c776f0dee635edc5781a62065b43 to your computer and use it in GitHub Desktop.
This is for Mac computers with Intel processors
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
# This is for Mac computers with Intel processors | |
# For Mac computers with Apple silicon (https://support.apple.com/en-us/HT211814) see https://gist.github.com/freshlogic/fa3dcc44eedd36b4602d541ccd5b4368 | |
# Homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew update | |
# MongoDB | |
brew tap mongodb/brew | |
brew install [email protected] | |
echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc | |
brew services start mongodb/brew/[email protected] | |
# Redis | |
brew install redis | |
brew services start redis | |
# NVM | |
touch ~/.zshrc | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash | |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
nvm install 16 | |
# npmclean | |
echo 'alias npm-clean="rm -rf node_modules/ && rm -f package-lock.json && npm i && npm outdated"' >> ~/.zshrc | |
alias npm-clean="rm -rf node_modules/ && rm -f package-lock.json && npm i && npm outdated" | |
# ESLint | |
npm i eslint -g | |
# PM2 | |
npm i pm2 -g | |
# Docker Desktop | |
# brew install docker | |
# open /Applications/Docker.app | |
# GitHub Desktop | |
brew install github | |
open /Applications/GitHub\ Desktop.app | |
# MongoDB Compass | |
brew install mongodb-compass | |
open /Applications/MongoDB\ Compass.app | |
# ngrok | |
brew install ngrok | |
# Tunnelblick | |
brew install tunnelblick | |
open /Applications/Tunnelblick.app | |
# Visual Studio Code | |
brew install visual-studio-code | |
open /Applications/Visual\ Studio\ Code.app | |
# Mac App Store CLI | |
brew install mas | |
# Slack | |
mas install 803453959 | |
open /Applications/Slack.app | |
# GitHub CLI | |
brew install gh | |
gh auth login |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment