Skip to content

Instantly share code, notes, and snippets.

@hieunguyentrung
Last active October 31, 2021 10:34
Show Gist options
  • Save hieunguyentrung/81462fa36274226ed498b9a7c6ae06a1 to your computer and use it in GitHub Desktop.
Save hieunguyentrung/81462fa36274226ed498b9a7c6ae06a1 to your computer and use it in GitHub Desktop.

macOS setup

Install Xcode Command Line Tools

xcode-select --install

Install Homebrew

The Missing Package Manager for macOS (or Linux) — Homebrew

iTerm2

Downloads - iTerm2 - Mac OS Terminal Replacement

base16-iterm2/base16-gruvbox-dark-soft-256.itermcolors at master · martinlindhe/base16-iterm2 · GitHub

Oh My ZSH

Oh My ZSH

Node

NVM

nvm install 16

Yarn

npm install --global yarn

Git config

git config --global color.ui true
git config --global user.name 'Hieu Nguyen'
git config --global user.email '10509903+hieunguyentrung@users.noreply.github.com'
ssh-keygen -t ed25519 -C 'hieunguyentrung'

cat ~/.ssh/id_rsa.pub
ssh -T git@github.com

Setup VIM

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

dot-files/.vimrc at master · hieunguyentrung/dot-files · GitHub

vim +PluginInstall +qall

SSH Config

~/.ssh/config

Host *
  AddKeysToAgent yes
  UseKeychain yes
  ServerAliveInterval 120
  TCPKeepAlive no

Ruby

brew install openssl readline ruby-build rbenv
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc
source ~/.zshrc

rbenv install 3.0.2
rbenv global 3.0.2
ruby -v

Rails

echo "gem: --no-document" >> ~/.gemrc
gem install rails
rbenv rehash

Apps

brew services start postgresql

JetBrains font

JetBrains Mono: A free and open source typeface for developers | JetBrains: Developer Tools for Professionals and Teams

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment