Skip to content

Byron/topgrade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topgrade Travis

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. Topgrades tries to solve this problem by detecting which tools you use and invoke their appropriate package managers.

Installation

You can either use cargo install or use the compiled binaries from the release page.

Usage

Just invoke topgrade. It will invoke the following steps:

  • Check if the following paths are tracked by Git. If so, pull them:

    • ~/.emacs.d (Should work whether you use Spacemacs or a custom configuration)
    • ~/.zshrc
    • ~/.oh-my-zsh
    • ~/.tmux
  • Unix: Invoke zplug update

  • Unix: Upgrade tmux plugins with TPM

  • Invoke Cargo install-update

  • Upgrade Emacs packages

  • Linux: Invoke the system package manager:

    • Arch: Invoke yay or fall back to pacman
    • Redhat based: Invoke yum upgrade
    • Debian based: Invoke apt update && apt dist-upgrade
  • Linux: Invoke fwupdmgr to show firmware upgrade. (View only. No upgrades will actually be performed)

  • Linux: Run needrestart

  • macOS: Upgrade Homebrew packages

  • macOS: Upgrade App Store applications

About

Upgrade all the things

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 79.9%
  • Shell 15.2%
  • PowerShell 3.7%
  • Emacs Lisp 1.2%