update
Update rung to the latest version from crates.io.
Usage
rung updaterung update --checkAliases
rung up— shorthand forrung update
Options
| Option | Description |
|---|---|
--check | Only check for updates without installing |
Example
Check for Updates
$ rung update --check
Current version: 0.1.0Latest version: 0.2.0
Run `rung update` to install the latest version.Install Update
$ rung update
Current version: 0.1.0Latest version: 0.2.0
Installing rung 0.2.0...✓ Updated to rung 0.2.0How It Works
- Version Check — Queries crates.io for the latest published version
- Comparison — Compares with your installed version
- Installation — Uses
cargo-binstall(fast, pre-built binaries) if available, otherwise falls back tocargo install
Notes
- Requires an internet connection to check crates.io
- If
cargo-binstallis installed, updates are faster (uses pre-built binaries) - The update replaces the current
rungbinary in your PATH
Related Commands
doctor— Check rung installation health