Download a pre-built binary for your platform (if one is available) from the Releases page of this repository.
You can also build it from source code. You will need Rust to build it, which you can install here. If this build is passing, this application has been tested on the stable, beta, and nightly channels on linux, macos, and windows. Check the badge at the top of the readme.
You can download the source code from the Releases page (or clone the repository)
cargo run <PARAMETERS>
<PARAMETERS> is a space separated list of the gitignore templates you want to use.
To just build, use
cargo build --release
You can then copy the executable (named
gi) to any folder on your
PATH from the directory
target/release depending on your build. You can then globally use the
gi command (replace
cargo run with
gi in the above examples)