Compiling and installing from source code - ouch-org/ouch GitHub Wiki
Note
If you just wish to install it the easiest way, follow instructions from https://github.com/ouch-org/ouch#installation instead.
Installing from source is always slower and only recommended for contributors.
Setup
For this you will need to install Rust and Cargo, we strongly recommend doing it via rustup.rs.
After that, check if it's correctly installed:
cargo --version
Also check if you have all the dependencies installed.
Installing from repository source
Clone the repository and install it.
git clone https://github.com/ouch-org/ouch
cargo install --path ouch
Installing from latest crates.io official release source
Latest release at https://crates.io/crates/ouch.
cargo install ouch
Building (without installing) from repository source
git clone https://github.com/ouch-org/ouch
cd ouch
cargo build