Topgrade is a tool to keep your system and software up-to-date effortlessly. Below are instructions for installing and setting up Topgrade on Debian-based systems, Fedora, and Arch Linux, with support for both Bash and Fish shells.
Take The Defaults On Everything!
🔧 Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsource $HOME/.cargo/envrustup update
📦 Install required packages:
sudo apt updatesudo apt install -y pciutils cargosudo apt install -y pkg-config libssl-dev
🔄 Reinstall Rust (ensure latest):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsource $HOME/.cargo/envrustup update
🚀 Install Topgrade:
cargo install topgrade
💻 Add Bash alias:
echo "alias just='topgrade'" >> ~/.bashrcsource ~/.bashrc
⬆️ Install cargo-update:
cargo install cargo-update
🐟 For Fish shell users:
set -U fish_user_paths $HOME/.cargo/bin $fish_user_pathssource ~/.config/fish/config.fish
🔧 Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsource $HOME/.cargo/envrustup update
📦 Install required packages:
sudo dnf install -y pciutils cargosudo dnf install -y pkg-config openssl-devel
🚀 Install Topgrade:
cargo install topgrade
💻 Add Bash alias:
echo "alias just='topgrade'" >> ~/.bashrcsource ~/.bashrc
⬆️ Install cargo-update:
cargo install cargo-update
🐟 For Fish shell users:
set -U fish_user_paths $HOME/.cargo/bin $fish_user_pathssource ~/.config/fish/config.fish
🔧 Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsource $HOME/.cargo/envrustup update
📦 Install required packages:
sudo pacman -S --needed pciutils cargo pkg-config openssl
🚀 Install Topgrade:
cargo install topgrade
💻 Add Bash alias:
echo "alias just='topgrade'" >> ~/.bashrcsource ~/.bashrc
⬆️ Install cargo-update:
cargo install cargo-update
🐟 For Fish shell users:
set -U fish_user_paths $HOME/.cargo/bin $fish_user_pathssource ~/.config/fish/config.fish
With Topgrade installed, you can now update your system anytime with:
topgrade