91 releases (stable)

new 7.0.1 Jun 15, 2021
6.9.1 May 13, 2021
6.7.0 Feb 27, 2021
6.2.0 Dec 27, 2020
0.10.0 Jul 10, 2018

#16 in Operating systems

Download history 561/week @ 2021-02-24 250/week @ 2021-03-03 161/week @ 2021-03-10 110/week @ 2021-03-17 421/week @ 2021-03-24 264/week @ 2021-03-31 604/week @ 2021-04-07 515/week @ 2021-04-14 277/week @ 2021-04-21 235/week @ 2021-04-28 570/week @ 2021-05-05 781/week @ 2021-05-12 253/week @ 2021-05-19 179/week @ 2021-05-26 151/week @ 2021-06-02 794/week @ 2021-06-09

1,712 downloads per month

Custom license

4.5K SLoC


Travis AppVeyor GitHub release Crates.io AUR homebrew


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.


Arch Linux users can use the AUR package.

On NixOS, use the topgrade package in nixpkgs.

macOS users can install topgrade via Homebrew or MacPorts.

Other systems users can either use cargo install or use the compiled binaries from the release page. The compiled binaries contain a self-upgrading feature.

Topgrade isn't guaranteed to work on Rust versions older than the latest stable release. If you intend to install Topgrade using Cargo then you should either install Rust using rustup or use a distribution which ships the latest version of Rust, such as Arch Linux.


Just run topgrade. See the wiki for the list of things Topgrade supports


See config.example.toml for an example configuration file.

Configuration path

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

Remote execution

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.


~198K SLoC