chord-gen is both an executable binary that can be run, and a library that can be used in Rust programs.

Installing the chord_cli executable

Assuming you have Rust/Cargo installed, run this command in a terminal:

cargo install chord-gen

It will make the chord_cli command available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall chord-gen uninstalls.

Adding chord_gen library as a dependency

Run this command in a terminal, in your project's directory:

cargo add chord-gen

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

chord-gen = "2.1.1"

The chord_gen library will be automatically available globally. Read the chord_gen library documentation.

Back to the crate overview.