Back to Mise

`mise bootstrap dotfiles unapply`

docs/cli/bootstrap/dotfiles/unapply.md

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

mise bootstrap dotfiles unapply

  • Usage: mise bootstrap dotfiles unapply [FLAGS] [TARGET]…
  • Effect: destructive — may delete or irreversibly overwrite
  • Source code: src/cli/dotfiles/unapply.rs

Remove dotfiles applied from [dotfiles]

Removes configured whole-file entries and edits while preserving files mise cannot identify as managed. Modified copies, templates, and plain-line edits require --force.

Arguments

  • [TARGET]… — Only unapply these targets

Flags

  • -f --force — Remove modified or otherwise ambiguous managed files and lines
  • -n --dry-run — Print the actions that would run without writing anything
  • -y --yes — Skip the confirmation prompt
  • -h --help — Print help

Examples:

mise bootstrap dotfiles unapply
mise bootstrap dotfiles unapply ~/.zshrc
mise bootstrap dotfiles unapply --dry-run
mise bootstrap dotfiles unapply --force --yes