cargo
Verified for current stable LTS
Cargo Commands
Cargo command syntax with verified terminal examples.
Commands
11 commands for Cargo
cargo Search
Cargo Command: Search For Crates
cargo search <search_string> cargo Operations
Cargo Command: Install Binary Crate
cargo install <crate_name> cargo Operations
Cargo Command: List Installed Binary Crates
cargo install --list cargo Operations
Cargo Command: Create New Rust Project
cargo init --<bin|lib> <path/to/directory> cargo Operations
Cargo Command: Add Dependency To Cargotoml
cargo add <dependency> cargo Operations
Cargo Command: Build Rust Project Release
cargo b -r cargo Operations
Cargo Command: Build Rust Project Nightly
cargo +nightly b cargo Operations
Cargo Command: Build Rust Project With Threads
cargo b -j <number_of_threads> cargo Operations
Cargo Command: Build Rust Project Release Profile
cargo b -r cargo Operations
Cargo Command: Build Rust Project Nightly Compiler
cargo +nightly b cargo Operations
Cargo Command: Build Rust Project Using Specific Threads
cargo b -j <number_of_threads> Suggest a Cargo Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Cargo workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.