Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installing Foton

foton is supported on Windows only.

Install a pre-built binary

Pre-built binaries are published on the GitHub Releases page.

If you already use cargo-binstall, you can install foton with:

cargo binstall foton

If you prefer, you can also download a release archive manually from the Releases page. When installing this way, make sure foton.exe is placed in a directory on your PATH, or add the extraction directory to your PATH yourself.

Install with Cargo

To install foton with Cargo, first install the Rust toolchain. See the Rust installation guide if you do not have Rust yet.

Then install either the latest released version or the current development version from the GitHub repository.

cargo install foton
cargo install --git https://github.com/gifnksm/foton.git foton

Verify the installation

Run:

foton --help

If the command succeeds, foton is installed and available on your PATH.

Next steps

If you are new to foton, read Core Concepts first. Then continue with Basic Usage to learn the everyday workflow for searching, installing, updating, inspecting, and removing packages.