Rust
Utilities Commands
Install Rust tools with cargo-install, clean build artifacts, and manage the Cargo home directory. Keep your development environment lean and organized.
4 commands
Pro Tips
Use 'cargo clean' to reclaim disk space — target/ directories can grow to multiple gigabytes.
Install useful tools: 'cargo install cargo-watch' for auto-rebuild, 'cargo install cargo-expand' for macro debugging.
Use 'cargo install --list' to see all globally installed binaries and their versions.
Common Mistakes
'cargo clean' removes all build artifacts including dependencies. Next build will recompile everything from scratch.
Installing tools with 'cargo install' compiles from source and can take several minutes per tool.