Installation
There are multiple ways to install the shiroa CLI tool. Choose any one of the methods below that best suit your needs.
Executable binaries are available for download on the GitHub Releases page. Download the binary for your platform (Windows, macOS, or Linux) and extract the archive. The archive contains an shiroa
shiroa
executable which you can run to build your books.
To make it easier to run, put the path to the binary into your PATH
PATH
.
To build the shiroa
shiroa
executable from source, you will first need to install Yarn, Rust, and Cargo. Follow the instructions on the Yarn installation page and Rust installation page. shiroa currently requires at least Rust version 1.75.
To build with precompiled artifacts, run the following commands:
To build from source, run the following commands (note: it depends on yarn
yarn
to build frontend):
With global installation, to uninstall, run the command cargo uninstall shiroa
cargo uninstall shiroa
.
Again, make sure to add the Cargo bin directory to your PATH
PATH
.