Skip to content

Instantly share code, notes, and snippets.

@freshlogic
Last active June 15, 2021 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freshlogic/3cc0c776f0dee635edc5781a62065b43 to your computer and use it in GitHub Desktop.
Save freshlogic/3cc0c776f0dee635edc5781a62065b43 to your computer and use it in GitHub Desktop.
This is for Mac computers with Intel processors
# 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 mongodb-community@4.0
echo 'export PATH="/opt/homebrew/opt/mongodb-community@4.0/bin:$PATH"' >> ~/.zshrc
brew services start mongodb/brew/mongodb-community@4.0
# 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