Skip to content

Instantly share code, notes, and snippets.

@tsraveling
Created March 12, 2025 20:10
Show Gist options
  • Save tsraveling/16db8e424e54ea974a2eddf23ab3331d to your computer and use it in GitHub Desktop.
Save tsraveling/16db8e424e54ea974a2eddf23ab3331d to your computer and use it in GitHub Desktop.
Using Stow

First, install stow. Then, clone your dotfiles repo to ~/dotfiles or similar.

Stow symlinks to the home folder. So if you wanted to stow your nvim config, for example:

  1. Make folder ~/dotfiles/nvim/.config
  2. Move active config into this folder: mv ~/.config/nvim ~/dotfiles/nvim/.config/nvim
  3. cd ~/dotfiles then stow nvim to symlin its contents to ~, ie, right where they should be.

Then if setting up on a new machine, just clone dotfiles and go straight to stow nvim from the dotfiles folder to "pop out" that config into place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment