Installing the command-line executable

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

cargo install forc-fmt

It will make the forc-fmt command available in your PATH if you"ve allowed the PATH to be modified when installing Rust. cargo uninstall forc-fmt uninstalls.

Back to the crate overview.