-
-
Notifications
You must be signed in to change notification settings - Fork 64
Install
Akshay edited this page Jul 24, 2020
·
3 revisions
You can install dijo
in a variety ways:
But before that, you need to install Rust (using rustup
)
# the command for your OS can be found at https://rustup.rs
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Rust is installed now. Great!
# check if you have the latest version
# dijo requires rust >= v1.42
$ rustc --version
rustc 1.43 (4fb7144ed 2020-04-20) # great!
# update rust if required
$ rustup update
Use cargo
, rust's package manager, to install dijo
from
crates.io:
$ cargo install dijo
# ... does some stuff ...
$ dijo -V
dijo 0.2.2 # yay!
dijo
is available on the latest unstable channel of
nixpkgs (maintained by @Infinisil):
$ nix-env -f channel:nixpkgs-unstable -iA dijo
Installation from source is not recommended, but if you wish to do so:
$ git clone https://github.com/nerdypepper/dijo
$ cargo install --force --path ./dijo
cargo
guarantees that crates published to crates.io build
fine, but Github doesn't.