Installation
Install imgen with Homebrew, from a prebuilt release, or build it from source with Cargo.
brew tap casoon/tap
brew install imgenWorks on macOS and Linux. The formula is updated by the release workflow for every tag.
Each GitHub release has four archives:
| Archive | Platform |
|---|---|
imgen-aarch64-apple-darwin.tar.gz |
macOS, Apple silicon |
imgen-x86_64-apple-darwin.tar.gz |
macOS, Intel |
imgen-aarch64-unknown-linux-gnu.tar.gz |
Linux, arm64 |
imgen-x86_64-unknown-linux-gnu.tar.gz |
Linux, x86_64 |
Each archive contains the single imgen binary. Unpack it into a directory on your PATH:
tar xzf imgen-aarch64-apple-darwin.tar.gz
mv imgen ~/.local/bin/cargo install --git https://github.com/casoon/imgenNeeds a Rust toolchain. TLS uses rustls, so no OpenSSL is required.
git clone https://github.com/casoon/imgen.git
cd imgen
cargo install --path .Caution
imgen is not published on crates.io. The crate named
imgen there is a
different project, so cargo install imgen installs something else.Verify the install
imgen --version
# imgen 0.3.1
Next, set up your API token.