Skip to content

Cargo

rust's package manager

Commands

  • build - Compile the current package
  • check - Analyze the current package and report errors, but don't build object files
  • clean - Remove the target directory
  • doc - Build this package's and its dependencies' documentation
  • new - Create a new cargo package
  • init - Create a new cargo package in an existing directory
  • add - Add dependencies to a manifest file
  • run - Run a binary or example of the local package
  • test - Run the tests
  • bench - Run the benchmarks
  • update - Update dependencies listed in Cargo.lock
  • search - Search registry for crates
  • publish - Package and upload this package to the registry
  • install - Install a Rust binary. Default location is $HOME/.cargo/bin
  • uninstall - Uninstall a Rust binary

List of packages

cargo install --list

See also

  • rust
  • pixi - Conda 에코시스템을 위한 새 패키지 매니저