Roll out your dotfiles over SSH.
Keep your shell, editor and Git configuration in one repository. Roll out the right files to each machine over SSH and check which saved hosts need attention.
$ dotfiles -n rollout you@server.example.com
Git repository
.gitconfig
.config/nvim/init.luaSSH target
~/.gitconfig
~/.config/nvim/init.luaFeatures
Roll out to a new host
Set up the CLI and link your dotfiles remotely over SSH. Save a rollout to run it again and see its status alongside your local setup.
Pick a setup for each machine
Group files into packages and select collections for different machines, such as a laptop and a server.
Manage local files in Git
Import selected files from your home directory, review local changes and preview what will be linked before applying it.
Install
macOS
Homebrew cask for Apple Silicon and Intel Macs.
brew install --cask pidrakin/dotfiles/dotfilesLinux
Installer for AMD64, ARM64 and i386. Keep Git on your PATH. For a user install, add $HOME/.local/bin to your PATH if needed.
curl -fsSL https://pidrakin.gitlab.io/dotfiles-cli/install.sh | shdotfiles --versionInstallation guideReleases
Quick start
Try a rollout on a host you control.
Replace the example host, repository URL and collection with your own. You need SSH access to the target, and the target needs access to your Git repository. The dry run shows the planned rollout without connecting.
When you’re ready, run the second block. It installs and links the collection on the target, saves the rollout and shows the remote status. The example disables link hooks.
For a local setup, use dotfiles install with your repository URL, then preview linking with dotfiles -n link. Use dotfiles init if you need to scaffold a repository.
dotfiles -n rollout you@server.example.com \
--uri https://example.com/you/dotfiles.git \
--collection server --save --track --no-hooksdotfiles rollout you@server.example.com \
--uri https://example.com/you/dotfiles.git \
--collection server --save --track --no-hooks
dotfiles status --remote