Keeping your system up to date mostly involves invoking more than a single package manager. This usually results in big shell one-liners saved in your shell history. Topgrade tries to solve this problem by detecting which tools you use and run their appropriate package managers.
Can either use cargo install
or use the compiled binaries from the release
page on Github. The compiled binaries contain a self-upgrading feature.
Install via scoop
on windows:
scoop install topgrade
Just run topgrade
. See the wiki for the list of things Topgrade supports
- See my configuration file topgrade.toml
or
- See config.example.toml for an example configuration file.
The configuration should be placed in the following paths depending by the operating system:
- macOS -
~/.config/topgrade.toml
- Windows -
%APPDATA%/topgrade.toml
- Other Unix systems -
~/.config/topgrade.toml
You can specify a key called remote_topgrades
in the configuration file. This key should contain a
list of hostnames that have topgrade installed on them. Topgrade will execute Topgrades on these
remote hosts. To limit the execution only to specific hosts use the --remote-host-limit
parameter.