Skip to content

Instantly share code, notes, and snippets.

@hieu-v
Created May 29, 2022 02:03
Show Gist options
  • Save hieu-v/c5e6ac4d99da9dda75e7eccaf05b8b8c to your computer and use it in GitHub Desktop.
Save hieu-v/c5e6ac4d99da9dda75e7eccaf05b8b8c to your computer and use it in GitHub Desktop.
### ****Xcode Command Line Tools****
```bash
xcode-select --install
```
### Homebrew
[Homebrew](https://brew.sh/)
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
### iTerm2 and oh-my-zsh
```bash
brew install --cask iterm2
```
[base16-iterm2/base16-gruvbox-dark-soft-256.itermcolors at master · martinlindhe/base16-iterm2](https://github.com/martinlindhe/base16-iterm2/blob/master/itermcolors/base16-gruvbox-dark-soft-256.itermcolors)
[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.](https://github.com/ohmyzsh/ohmyzsh#basic-installation)
### Node and Yarn
```bash
brew install nvm
```
```bash
nvm install 16
```
```bash
npm install --global yarn
```
### Git
```bash
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
```
```bash
ssh -T git@github.com
```
### Vim
```bash
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
```
[dot-files/.vimrc at master · hieunguyentrung/dot-files](https://github.com/hieunguyentrung/dot-files/blob/master/.vimrc)
```bash
vim +PluginInstall +qall
```
### SSH Config
```bash
Host *
AddKeysToAgent yes
UseKeychain yes
ServerAliveInterval 120
TCPKeepAlive no
```
### Ruby on Rails
```bash
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
```
```bash
ruby -v
```
```bash
echo "gem: --no-document" >> ~/.gemrc
gem install rails
rbenv rehash
rails -v
```
### JetBrains Mono
[JetBrains Mono: A free and open source typeface for developers](https://www.jetbrains.com/lp/mono/)
### Other apps
```bash
brew install openfortivpn
```
```bash
brew install --cask openkey
```
```bash
brew install --cask postman
```
```bash
brew install --cask slack
```
```bash
brew install --cask notion
```
```bash
brew install --cask mattermost
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment