🍎

macOS環境構築について

に公開

Xcode Command Line Tools

xcode-select --install

Homebrew

https://brew.sh/

brew install wget

設定チェック

brew doctor

パッケージ定義を最新化

brew list
brew update

VSCode, Chrome, iterm2, slack

  • caskの定義の中で、VSCodeの実行ファイルに対するシンボリックリンクが自動で作成される
  • そのため、Command PaletteからShell Command: Install code in PATHを実行しなくても、codeコマンドが使用できる
brew install --cask visual-studio-code
brew install --cask google-chrome
brew install --cask iterm2
brew install --cask slack
brew install --cask alt-tab
brew install --cask elmedia-player

ohmyzsh

https://github.com/ohmyzsh/ohmyzsh

Git

  • Homebrewからインストールしたgitを使う
brew install git
which git
/usr/bin/git --version
/usr/local/bin/git --version
/opt/homebrew/bin/git --version

GitHub

  • GitHubへSSHできるようにする
ssh -T git@github.com

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent?platform=mac

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

GitHub CLI

brew install gh

nvm, npm, node

brew install nvm
nvm install --lts
nvm ls
nvm --version
npm --version
node --version

uv

curl -LsSf https://astral.sh/uv/install.sh | sh

https://github.com/astral-sh/uv

https://docs.astral.sh/uv/

poppler

brew install poppler

https://poppler.freedesktop.org/

hugo

brew install hugo

https://gohugo.io/

Rust

https://rust-lang.org/tools/install/

cmake, ffmpeg

brew install cmake
brew install ffmpeg
GitHubで編集を提案

Discussion