커맨드라인 레시피


좋아하는 터미널 에뮬레이터

  • Windows Terminal
  • iTerm 2
  • Warp.dev

좋아하는 커맨드라인 유틸리티들 설치하기

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

# install zsh
brew install zsh

# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# install replacements
brew install bat

# install bat alias
echo 'alias cat="bat --theme=\$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo default || echo GitHub)"' >> ~/.zshrc

# install exa
brew install exa

# install exa alias
echo 'alias exa=ls' >> ~/.zshrc

# install dust
brew install dust

# install fzf
brew install fzf

# install zoxide
brew install zoxide

# install zoxide alias
echo '$(brew --prefix)/opt/fzf/install' >> ~/.zshrc
echo 'alias cd=z' >> ~/.zshrc

# install thefuck
brew install thefuck

# install lazy git
brew install lazygit

# install alias
echo "alias lg='lazygit'" >> ~/.zshrc

# install the markdown renderer
brew install glow