ターミナルでインストール
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install caskroom/cask/brew-cask
brew cask install iterm2
brew cask install visual-studio-code
brew cask install coteditor
brew install nodebrew
App StoreからXcodeをインストールする
vi ~/.zshrc
↓(以下を記載)
export PATH=$HOME/.nodebrew/current/bin:$PATH
source ~/.zshrc
nodebrew setup
nodebrew ls-remote
nodebrew install-binary {バージョンを指定}
nodebrew use {バージョンを指定}
node -v
npm -v
mkdir ~/.ssh
cd ~/.ssh
ssh-keygen -t rsa
pbcopy < ~/.ssh/id_rsa.pub
SSH key 設定画面で公開鍵を登録する
ssh -T git@github.com
vi ~/.ssh/config
↓(以下を記載)
Host *
AddKeysToAgent yes
UseKeyChain yes
Host github
Host github.com
IdentityFile ~/.ssh/id_rsa
User git