Skip to content

Instantly share code, notes, and snippets.

@iethree
Last active August 21, 2023 14:14
Show Gist options
  • Save iethree/c2a3fbc25a8829792f3bcab5dd38f5d9 to your computer and use it in GitHub Desktop.
Save iethree/c2a3fbc25a8829792f3bcab5dd38f5d9 to your computer and use it in GitHub Desktop.
new computer install
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install bash
brew install php@7.4
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/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 13
nvm install 12
nvm install 10
npm install -g nodemon
npm install -g pm2
npm install -g node-sass
brew install cask
brew cask install rectangle
brew cask install iterm2
brew cask install google-chrome
brew cask install google-chrome-canary
brew cask install firefox
brew cask install firefox-developer-edition
brew cask install sourcetree
brew cask install visual-studio-code
brew cask install postman
brew cask install docker
brew cask install slack
brew cask install telegram
brew cask install vlc
# Set OS Defaults
# Finder: show hidden files by default
defaults write com.apple.finder AppleShowAllFiles -bool true
# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true
# Dark mode
defaults write "Apple Global Domain" "AppleInterfaceStyle" "Dark"
# Disable apple music media key integration
launchctl bootout "gui/$(id -u "${USER}")/com.apple.rcd"
launchctl disable "gui/$(id -u "${USER}")/com.apple.rcd"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment