zk-phi’s Dotfiles
- Open Terminal.app
- Install Xcode CLI tool
xcode-select --install
- Install Homebrew (see the official web for the install command) and follow the instruction to add to
PATH
- Clone this repo and submodules
git clone https://github.com/zk-phi/dotfiles.git cd dotfiles git submodule update --init
- Symlink dotfiles
sh link.sh
- Install tools via
Brewfile
.cd brew brew bundle
Some packages may fail on Mac M1 machines. Try installing with
arch -arm64
that case.arch -arm64 brew install <package-name>
- Change the login shell (if it’s not
zsh
yet)sudo vim /etc/shells # Add /usr/local/bin/zsh chsh -s /usr/local/bin/zsh
- Install runtimes with
asdf
cd asdf sh setup.sh
- Build and install required fonts
(See also https://scrapbox.io/zkphi/Mac_PC_%E7%A7%BB%E8%A1%8C)