Installation
From crates.io
cargo install cargo-generate --locked
No system libraries are required. New in version 0.24.0 is the pure-Rust git
stack via gix and TLS via rustls, so a plain Rust toolchain is all you
need — no pkg-config, libgit2, libssl-dev, perl, or C compiler.
Using pacman (Arch Linux)
cargo-generate can be installed from the extra repository for Arch Linux:
pacman -S cargo-generate
Manual Installation
- Download the binary tarball for your platform from our releases page.
- Unpack the tarball and place the binary
cargo-generatein~/.cargo/bin/.