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
repo-urlis the Git repository URL to clone, or a local path.--id,-isets an ID for this dotfile config.--map,-msets onesource:destinationmapping for this command run.
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
- Press
SPACEto select a configuration, thenENTERto install it. - Or add it to the cart with
SPACEand install alongside other items.
Adding a custom repository (two-phase import)
Press A to add a dotfile repository that isn't in the curated list:
- Phase 1: paste a Git URL and press
ENTER. - Phase 2: review detected configs, select what you want, then apply.
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.