Back to Mise

`mise bootstrap dotfiles track`

docs/cli/bootstrap/dotfiles/track.md

2026.9.21.7 KB
Original Source
<!-- @generated by usage-cli from usage spec -->

mise bootstrap dotfiles track

Track a file or directory in place

Adds a [dotfiles] entry with mode = "track": the file stays where it is, nothing is copied or linked, and history saves a checkpoint of it right away. With the history watcher service running, later edits are saved automatically; without it, mise bootstrap dotfiles save saves them.

--os and --profile declare a variant: a separate shared stream for machines matching that platform or mise environment, so a Mac and a Linux box can share the same live path with different contents.

Arguments

  • <PATH>… — Paths to track (absolute or starting with ~/)

Flags

  • --os <OS> — Declare a variant for this platform (macos, linux, linux/arm64, …)
  • --profile <PROFILE> — Declare a variant for this mise environment
  • --no-autosave — Save only on mise bootstrap dotfiles save <path>, never automatically
  • -y --yes — Accept without prompting
  • -h --help — Print help

Examples:

mise bootstrap dotfiles track ~/.zshrc ~/.config/hypr
mise bootstrap dotfiles track ~/.zshrc --os macos
mise bootstrap dotfiles track ~/.config/app/state.json --no-autosave
<!-- generated reference navigation -->