My config for fish, git, Helix, Zed, Ghostty and friends, for macOS and Linux. mise links the files into place and installs the tools.
On Linux, install git, curl, fish and a C compiler first (apt install git curl fish build-essential on Debian or Ubuntu).
On macOS, install Homebrew.
curl -fsSL https://mise.run | sh
~/.local/bin/mise bootstrap --from https://github.com/jdahm/dotfiles.git --from-dir ~/dotfiles --config-dir mise --prompt-varsThis clones the repo to ~/dotfiles and links ~/.config/mise to ~/dotfiles/mise.
--prompt-vars asks once for your git name, personal email and signing key, for ~/.config/git/identity and ~/.config/jj/config.toml. Change them later with mise vars prompt.
Later, run mise bootstrap again after changing the config. It's safe to repeat. It:
- links the config files into
~and~/.config(the[dotfiles]list inmise/config.toml) - installs the command-line tools listed in
mise/config.toml - runs the
bootstraptask inmise/config.toml, which installs Claude Code, rustup, uv, Harlequin and Ansible
Then finish by hand:
- On macOS, install the apps and remaining formulae:
brew bundle --global. If it stops at rexdiff, runbrew trust rednafi/rexdiffand run it again. Then runrexdiff install, which writes~/.config/rex/rexdiff_toggle.lua. - Build Helix:
helix/install.sh. It builds a pinned commit from source. - Add your signing key to
~/.config/git/allowed_signers, so git can check signed commits:you@example.com namespaces="git" ssh-ed25519 AAAA… - On a work machine, use the work email in work repos.
git/configincludes~/.config/git/localif it exists, so write that file and the one it points to:# ~/.config/git/local [includeIf "hasconfig:remote.*.url:git@github.com:your-org/**"] path = ~/.config/git/work
Add the work email to# ~/.config/git/work [user] email = you@work.example
~/.config/git/allowed_signerstoo. jj can't match on remotes, so it needs the work repo folders listed in~/.config/jj/conf.d/work.toml. It matches whole folders, so list each worktree folder too:--when.repositories = ["~/work-repo", "~/work-repo-review"] [user] email = "you@work.example"
- In Rex, set the terminal font to JetBrainsMono Nerd Font (Settings › Terminal › Typography). Rex keeps it in the app, not in a file.
| Source | What | Update with |
|---|---|---|
mise/config.toml |
most command-line tools (go, node, gh, jq, kubectl, …) | mise upgrade |
Their own installers, in the bootstrap task in mise/config.toml |
rustup, uv, mise, Claude Code | rustup update, uv self update, mise self-update, claude update |
| uv | Harlequin, Ansible | uv tool upgrade --all |
homebrew/Brewfile (macOS only) |
apps, fonts, and a few formulae like git, fish and libpq | brew bundle --global |
helix/install.sh |
Helix, built from source | change the commit in the script and rerun it |
mise tools are on PATH through mise's shims, so scripts and editors see them too.
Tools I don't install by default, but might want again, are in extra-tools.md.
Each app has its own folder, and each file keeps the name it has where it's linked. The top level only holds the docs.
| Folder | Linked to |
|---|---|
fish/ |
~/.config/fish/ |
zsh/ |
~/.zprofile |
git/ |
~/.config/git/ |
helix/ |
~/.config/helix/config.toml and languages.toml (and install.sh builds Helix) |
mise/ |
~/.config/mise/ (the whole folder) |
starship/ |
~/.config/starship.toml |
atuin/ |
~/.config/atuin/config.toml |
jj/ |
~/.config/jj/config.toml (rendered from a template) |
vim/, ideavim/ |
~/.vimrc, ~/.ideavimrc |
homebrew/ |
~/.Brewfile (macOS only) |
ghostty/ |
~/.config/ghostty/config (macOS only) |
zed/ |
~/.config/zed/ (macOS only) |
gnupg/ |
~/.gnupg/gpg-agent.conf (macOS only) |
rex/ |
~/.config/rex/init.lua and rexdiff.lua (macOS only) |
Machine-specific fish config goes in ~/.config/fish/local.fish, which config.fish sources if it exists.