Commands / dpm dotfiles

dpm dotfiles

Use this command to install config files from a Git repository.

CLI usage

sh
dpm config install [--id <id>] [--map <src:dst>] <repo-url | local-path>

Arguments and flags

Examples

sh
# clone repository dpm config install https://github.com/user/dotfiles # clone and map one file dpm config install --map .tmux.conf:~/.tmux.conf https://github.com/user/dotfiles # with an ID for tracking dpm config install --id my-dots https://github.com/user/dotfiles
--map is CLI-only. If you skip --map, DPM may clone the repo without applying files. In that case, run again with explicit mappings.

TUI: Dotfiles tab

Open the Dotfiles tab with TAB. You can select configs and apply them from there.

Installing from the list

Adding a custom repository (two-phase import)

Press A to add a dotfile repository that isn't in the curated list:

Dotfiles and profiles

Profiles can include associated dotfile configurations that are applied alongside the tool installs. When you apply a profile with dpm -a or via the Profiles tab, any dotfiles defined in the profile are installed automatically.