Skip to main content

Installation

chrs is easy to install, and works on many platforms.

Direct Download

You can download chrs from GitHub Releases. Get the latest version here:

https://github.com/FNNDSC/chrs/releases/latest

This is the easiest installation method, however there is no mechanism for automatic updates.

Using Pip

Users who already have Python can install chrs using pip.

pip install --user chrs

If necessary, add the bin folder to $PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

cargo binstall

cargo binstall is a convenient solution for installing pre-compiled binaries using the Rust cargo package manager. First install cargo-binstall, then run

cargo binstall chrs

Build from source

Use cargo to get and build the package from source, from crates.io:

cargo install --locked chrs

If necessary, add the bin folder to $PATH:

echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc