Skip to content

Instantly share code, notes, and snippets.

@hieu-v
Created December 6, 2022 04:20
Show Gist options
  • Save hieu-v/3daac8c8eb2a13bf7d016300178089e9 to your computer and use it in GitHub Desktop.
Save hieu-v/3daac8c8eb2a13bf7d016300178089e9 to your computer and use it in GitHub Desktop.

macOS setup

Xcode Command Line Tools

xcode-select --install

Homebrew

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

iTerm2 and oh-my-zsh

brew install --cask iterm2

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

GitHub - ohmyzsh/ohmyzsh: 🙃 A delightful community-driven (with 2,000+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.

Node and Yarn

brew install nvm
nvm install 16
npm install --global yarn

Git

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

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

Vim

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

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

vim +PluginInstall +qall

SSH Config

Host *
  AddKeysToAgent yes
  UseKeychain yes
  ServerAliveInterval 120
  TCPKeepAlive no

Ruby on Rails

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

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

JetBrains Mono

JetBrains Mono: A free and open source typeface for developers

Other apps

brew install openfortivpn
brew install --cask openkey
brew install --cask postman
brew install --cask slack
brew install --cask notion
brew install --cask mattermost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment