55 releases (36 stable)

✓ Uses Rust 2018 edition

4.5.0 May 14, 2020
4.3.1 Mar 30, 2020
3.8.1 Jan 29, 2020
3.6.0 Dec 30, 2019
0.10.0 Jul 10, 2018

#15 in Operating systems

Download history 292/week @ 2020-01-25 122/week @ 2020-02-01 110/week @ 2020-02-08 317/week @ 2020-02-15 511/week @ 2020-02-22 466/week @ 2020-02-29 267/week @ 2020-03-07 349/week @ 2020-03-14 447/week @ 2020-03-21 287/week @ 2020-03-28 223/week @ 2020-04-04 400/week @ 2020-04-11 87/week @ 2020-04-18 81/week @ 2020-04-25 76/week @ 2020-05-02 390/week @ 2020-05-09

1,253 downloads per month

Custom license

130KB
3.5K SLoC

Ruby HTML 3.5K SLoC // 0.0% comments Scons 70 SLoC // 0.1% comments Edn 14 SLoC PostCSS 13 SLoC // 0.2% comments Ren'Py 6 SLoC // 0.2% comments

Topgrade

Travis AppVeyor GitHub release Crates.io AUR homebrew

Alt Text

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.

Installation

Arch Linux users can use the AUR package.

On NixOS, use the topgrade package in nixpkgs:

nix-env -iA topgrade

macOS users can install topgrade via Homebrew.

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.

Usage

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

Customization

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.

Dependencies

~5–7MB
~139K SLoC