Go to file
Roey Darwish Dror 6a1b11bc52 Logo artboard
2020-07-09 21:35:18 +03:00
.github Ask people to run topgrade --dry-run when opening a bug report 2020-03-16 13:06:33 +02:00
ci Use 0.1 branch of cross (#348) 2020-02-27 20:58:09 +02:00
doc Logo artboard 2020-07-09 21:35:18 +03:00
src Add indicator for connecting to remote topgrades 2020-07-09 21:21:59 +03:00
.gitignore Initial commit 2018-05-29 23:48:30 +03:00
.travis.yml Remove the cargo caching in Travis 2019-11-19 10:15:13 +02:00
appveyor.yml Run the CI on all branches 2019-05-14 15:57:27 +03:00
bors.toml Add bors.toml 2019-02-09 21:27:42 +02:00
build.rs Fix formatting 2020-02-26 15:33:06 +02:00
Cargo.lock Version bump 2020-07-06 14:40:16 +03:00
Cargo.toml Version bump 2020-07-06 14:40:16 +03:00
config.example.toml Remove superfluous space in config.example.toml (#465) 2020-07-08 09:47:51 +03:00
LICENSE Rename LICENCE to LICENSE (#96) 2018-11-21 07:56:41 +02:00
README.md Logo 2020-07-09 21:29:57 +03:00
rustfmt.toml Increase the maximum line size 2018-07-03 14:33:48 +03:00
topgrade.8 Improve man page formatting (#349) 2020-02-29 16:08:07 +02:00

Topgrade

Travis AppVeyor GitHub release Crates.io AUR homebrew

Demo

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.

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.