Skip to main content

Apply Command

The apply command combines link and install into a single operation, applying your complete configuration.

Coming Soon

This command is currently in development. Documentation will be updated when the feature is released.

Planned Usage

> dottie apply [options]

Planned Options

OptionShortDescription
--profile-pProfile to use (default: "default")
--config-cPath to configuration file
--dry-run-dPreview changes without applying
--force-fBackup existing files and overwrite conflicts

Planned Behavior

The apply command will:

  1. Validate the configuration
  2. Create all dotfile symlinks (like link)
  3. Install all software packages (like install)

This is equivalent to running:

> dottie validate <profile>
> dottie link --profile <profile>
> dottie install --profile <profile>

Current Workaround

Until apply is available, run the individual commands:

> dottie validate default
> dottie link
> dottie install