Skip to content

Instantly share code, notes, and snippets.

@gkucmierz
Forked from hrishimittal/macbook_setup.md
Last active September 25, 2020 09:56
Show Gist options
  • Save gkucmierz/02d174d5a89c9d199db5e0980c3efce7 to your computer and use it in GitHub Desktop.
Save gkucmierz/02d174d5a89c9d199db5e0980c3efce7 to your computer and use it in GitHub Desktop.
Setting up a new MacBook for Ruby on Rails web development
  1. Install Google Chrome
  2. Install Homebrew - http://brew.sh/
  3. Install GnuPG - brew install gnupg2
  4. Generate SSH key - ssh-keygen -t rsa -b 4096 -C "[email protected]"
  5. Install node, npm, n
  6. Git - brew install git
  7. Add SSH public key to Github, Bitbucket.
  8. Restore pgp key https://dev.to/gkucmierz/how-to-make-my-git-contributions-verified-2e76
  9. To delete words with alt+backspace in Terminal, go to Preferences > (your profile) > Keyboard > Use option as meta key.
  10. Sublime Text shortcut: sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
  11. In ~/.bash_profile: alias g=git and export EDITOR='subl'
  12. Custom prompt: In ~/.bash_profile: export PS1="Learnetto.com \$ "
  13. Change default screenshots location: defaults write com.apple.screencapture location ~/screenshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment