Skip to content

mise dotfiles add

Add or update dotfiles in [dotfiles]

If the target is already managed, this updates its source from the live target. Otherwise it creates a [dotfiles] entry and seeds the source under dotfiles.root unless --source is provided.

Arguments

<TARGET>…

Targets to add or update

Flags

-f --force

Overwrite existing sources without prompting

-g --global

Write to the global config

-l --local

Write to the local config instead of the global config

-m --mode <MODE>

Dotfile mode to write

-n --dry-run

Print the config/source updates without writing anything

-p --path <PATH>

Write to this config file or directory

-s --source <PATH>

Source path to use for a single target

-y --yes

Skip the confirmation prompt

Examples:

mise dotfiles add ~/.zshrc
mise dotfiles add --mode copy ~/.config/starship.toml
mise dotfiles add --source dotfiles/gitconfig ~/.gitconfig
MIT LicenseCopyright © 2026en.dev