-
xcode-select --install -
curl -fsSL https://mise.run | sh -
Clone. The symlinks point into this path, so do not move it later.
git clone https://github.com/abnoumaru/dotfiles ~/src/github.com/abnoumaru/dotfiles cd ~/src/github.com/abnoumaru/dotfiles mise trust
-
Move aside any existing file the dry run reports as a conflict, then apply.
mise bootstrap --dry-run mise bootstrap
-
Set the git identity, which stays out of this repository, then
gh auth login.--globalwould write into this repository, because without~/.gitconfiggit writes to~/.config/git/config. The signing key is the public half of the SSH key in 1Password; turn on its SSH agent under Settings → Developer.git config --file ~/.gitconfig user.name "<name>" git config --file ~/.gitconfig user.email "<email>" git config --file ~/.gitconfig user.signingkey "<ssh public key>"
-
Log out and back in, and grant Karabiner-Elements its permissions.
| What | Where | How |
|---|---|---|
| Command-line tool or runtime | mise/global.toml |
mise use -g <tool> |
| Cask | mise.toml [bootstrap.packages] |
mise bootstrap packages use brew-cask:<cask> |
| Formula | mise.toml [bootstrap.packages] |
mise bootstrap packages use brew:<formula> |
| Config file | mise.toml [dotfiles] |
Add an entry, then mise bootstrap --only dotfiles |
| macOS setting | mise.toml [bootstrap.macos.defaults] |
Match the type from defaults read-type |
git pull && mise bootstrap # apply changes from another Mac
mise bootstrap status # show driftmise self-update # mise
mise upgrade # tools
mise bootstrap packages upgrade # formulae, and casks mise installed
brew upgrade --cask # casks Homebrew installedDeleting an entry does not uninstall or unlink anything:
| Removed from | Clean up with |
|---|---|
mise/global.toml |
mise uninstall --all <tool> |
[bootstrap.packages] |
mise bootstrap packages prune, or brew uninstall --cask <cask> if Homebrew installed it |
[dotfiles] |
mise bootstrap dotfiles unapply |
[bootstrap.macos.defaults] |
Reset it in System Settings |
cd ~/go/src/github.com/abnoumaru/dotfiles
mise bootstrap dotfiles unapply
mv ~/go/src ~/src
cd ~/src/github.com/abnoumaru/dotfiles
git pull
mise trust
mise bootstrap
ghq root # ~/src