Chizi Victor

_   Stow .dotfiles

Jun 2, 2025

Backup dotfiles using gnu stow

CLIWorkflow

Ensure stow is installed. Using apt, it can be installed with…

sudo apt install -y stow

Basic workflow:

In the root dir of the .dotfiles repo, to see changes before applying the symlinks, run

stow --adopt -nvt ~ *

Remove the -n flag to apply the symlinks

stow --adopt -vt ~ *

# To remove the symlinks, add the -D flag
stow --adopt -vDt ~ *

Optionally, you can increase verbose level to see more info about the process.

stow --adopt --verbose=2 -t ~ *