- インストール:
`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- 確認:
brew --version
brew install git
brew install gh
gh auth login
brew tap microsoft/git
brew install --cask git-credential-manager-core
確認:
git config --global -l
brew install node
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
source ~/.nvm/nvm.sh
nvm install --lts # option
brew install openjdk
sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
brew install --cask font-zed-mono-nerd-font
brew install --cask font-blex-mono-nerd-font
git clone https://github.com/yasainet/dotfiles.git
brew install --cask hyper
設定:
ln -s ~/dotfiles/.hyper.js ~/
ln -s ~/dotfiles/.hyper_plugins ~/
brew install fish
追加:
sudo vim /etc/shells
/opt/homebrew/bin/fish
設定:
ln -s ~/dotfiles/.config/fish ~/.config/
確認:
echo $SHELL
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
brew install neovim
設定:
ln -s ~/dotfiles/.config/nvim ~/.config/
brew install --cask google-cloud-sdk
brew install --cask miniconda
npm install firebase
npm install -g firebase-tools
npm install firebase-admin
npm install firebase-functions
npm i @google/clasp -g
brew install ffmpeg
brew install tree
brew install jq
brew install glances
brew install bat
設定:
ln -s ~/dotfiles/.config/bat ~/.config/
bat cache --build
vim ~/.config/bat/config
--theme="Catppuccin Macchiato"
--plain
brew install git-delta
設定:
ln -s ~/dotfiles/delta ~/
npm install -g opencommit
oco config set OCO_API_KEY=<your_api_key>
optional:
/usr/local/bin
に PATH が通っていないときの対処方法
sudo ln -s ~/.nvm/versions/node/v20.17.0/bin/oco /usr/local/bin/oco
brew install stripe-cli
stripe login
brew install mas
mas install 539883307
mas install 967805235
mas install 497799835
brew install --cask github
brew install --cask google-chrome
sudo softwareupdate --install-rosetta
brew install google-japanese-ime
sudo reboot
brew install --cask google-drive
設定:
ln -sf ~/Google\ Drive/My\ Drive/Downloads ~/Downloads
brew install --cask appcleaner
brew install --cask rectangle
brew install --cask cleanshot
brew install --cask docker
brew install --cask zed
設定:
ln -s ~/dotfiles/.config/zed/keymap.json ~/.config/zed
ln -s ~/dotfiles/.config/zed/settings.json ~/.config/zed
brew install --cask slack
brew install --cask discord
brew install --cask protonvpn
brew install --cask tor-browser
brew install --cask transmission
brew install --cask keyboardcleantool
brew install --cask karabiner-elements
brew install --cask the-unarchiver
brew install ollama
brew install --cask deepl
chmod +x ~/dotfiles/setup.sh