Skip to content

Instantly share code, notes, and snippets.

@paul-vd
Forked from w3cj/os-x-setup-commands.sh
Last active August 14, 2020 07:12
Show Gist options
  • Save paul-vd/197399017635e8c6b310f31cc0e2fa24 to your computer and use it in GitHub Desktop.
Save paul-vd/197399017635e8c6b310f31cc0e2fa24 to your computer and use it in GitHub Desktop.
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew cask install iterm2
# update iterm2 settings -> colors, keep directory open new shell, keyboard shortcuts
brew install bash # latest version of bash
# set brew bash as default shell
sudo nano /etc/shells
# add /usr/local/bin/bash to the accepted list of shells
chsh -s /usr/local/bin/bash
brew install fortune
brew install cowsay
brew install git
brew install vcprompt
# update bash_profile: https://github.com/w3cj/dotfiles/blob/master/.bash_profile
brew cask install spectacle
brew cask install chrome
# install nvm/node, get latest version from nvm website
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm install stable
mkdir ~/dev
yarn global add now vercel
brew cask install visual-studio-code
# update vscode settings
# install vscode extensions
# configure git
ssh-keygen -t rsa -b 4096 -C "[email protected]"
touch ~/.ssh/config
# add to config
#############
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
#############
ssh-add -K ~/.ssh/id_rsa
# Copy the contents of the id_rsa.pub file to your clipboard and add in github ssh
$ pbcopy < ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment