Skip to content

Commit d773ab0

Browse files
authored
Merge pull request #271 from NewtonChutney/patch-1
Update installation.md with cargo binstall instructions
2 parents 40120a3 + 41aa7a6 commit d773ab0

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/src/installation.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ The easiest way to install Zellij is through [a package for your OS](#third-part
44

55
If one is not available for your OS, you can [download a prebuilt binary](#binary-download) or even [try Zellij without installing](https://zellij.dev).
66

7-
Otherwise, you can [install it with Cargo](#rust-cargo).
7+
If you have Cargo installed, you can download the latest release using [cargo binstall](#cargo-binstall).
8+
9+
Otherwise, you can [compile and install it with Cargo](#rust-cargo).
810

911
-------------------------------
1012

@@ -22,6 +24,17 @@ If experiencing errors, if installed through rustup, please try running:
2224
```
2325
rustup update
2426
```
27+
-------------------------------
28+
29+
## Cargo - binstall
30+
31+
For smaller machines like laptops, you might want to just install the binary instead of compiling everything.
32+
33+
The easiest way if cargo is present, is to install with the [binstall cargo extension](https://crates.io/crates/cargo-binstall):
34+
```
35+
cargo binstall zellij
36+
```
37+
2538

2639
-------------------------------
2740

0 commit comments

Comments
 (0)