docs: use `cargo install`

This commit is contained in:
Jakub Panek 2024-04-11 10:21:07 +02:00 committed by GitHub
parent e189ead0c1
commit 6fa0f4c4b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -30,12 +30,12 @@ cd ~/lapce
```
```sh
cargo build --release
cargo install --path . --bin lapce --profile release-lto --locked
```
> If you use a different distribution, and are having trouble finding appropriate dependencies, let us know in an issue!
Once Lapce is compiled, the executable will be available in `target/release/lapce`.
Once Lapce is compiled, the executable will be available in `$HOME/.cargo/bin/lapce` and should be available in `PATH` automatically.
## Building using Docker or Podman