_==_ _
_,(",)|_|
\/. \-| stowman.sh
__( : )|_ Manage your dotfiles easily.
curl -L https://raw.githubusercontent.com/ad-on-is/stowman/refs/heads/main/stowman.sh > ~/.local/bin/stowman.sh
chmod +x ~/.local/bin/stowman.sh
# or clone the repo
git clone https://github.com/ad-on-is/stowman ~/.local/tmp/stowman
chmod +x ~/.local/tmp/stowman/stowman.sh
ln -s ~/.local/tmp/stowman/stowman.sh ~/.local/bin/stowman.sh
STOWMAN_DOTDIR
: The directory where stowman will store your dotfiles (default:~/.dotfiles
).STOWMAN_HOMEDIR
: The directory where stowman will stow your dotfiles (default:~/
).
- Create a GitHub repository.
- Run
stowman.sh init <repo>
- Add files or folders to stowman using
stowman.sh add <file/folder> <package>
- Push changes using
stowman.sh push
- Run
stowman.sh init <repo>
- Reload the configuration by using
stowman.sh reload <package|all>
- Run
stowman.sh add ~/.config/nvim editors
to add~/.config/nvim
to theeditors
package. - Run
stowman.sh add . cli
to add the current directory to thecli
package.
- Run
stowman.sh push
to update the repository. - Run
stowman.sh pull
followed bystowman.sh reload <package|all>
to pull and apply the latest changes.
- Run
stowman.sh list
to list all stowed files and folders.