Update README with new cargo instructions

After 1efb8a5113 the binary can be installed without specifying the git repo.
This commit is contained in:
Alex Gyoshev 2017-10-05 16:57:08 +03:00 committed by Alex Gyoshev
parent 4c3fd5483d
commit d6d101ad2f

View File

@ -72,13 +72,13 @@ If youre unable to compile libgit2, you can opt out of Git support by running
If youre using a recent version of Cargo (0.5.0 or higher), you can use the `cargo install` command: If youre using a recent version of Cargo (0.5.0 or higher), you can use the `cargo install` command:
cargo install --git https://github.com/ogham/exa cargo install exa
or: or:
cargo install --no-default-features --git https://github.com/ogham/exa cargo install --no-default-features exa
Cargo will clone the repository to a temporary directory, build it there and place the `exa` binary to: `$HOME/.cargo` (and can be overridden by setting the `--root` option). Cargo will build the `exa` binary and place it in `$HOME/.cargo` (this location can be overridden by setting the `--root` option).
## Testing with Vagrant ## Testing with Vagrant