WRITELOOP

UPDATE CARGO AND RUSTC VERSION TO INSTALL ROOT CLI TOOLS/APPS

Sometimes when installing a package it complains that it needs a higher version of cargo/rustc. Here is how to update those rust tools.

2025 October 10
  1. Update rust toolchain to latest stable version:

$ rustup update stable

This updates rustc and cargo to the latest stable release.

  1. Set the default toolchain as the updated one above:

$ rustup default stable
  1. Verify if the upgrade was successful:

$ rustc --version
NOTE: The original content(s) that inspired this one can be found at:

All copyright and intellectual property of each one belongs to its' original author.