From 6fa0f4c4b93c6c8fbaa4fa56e2126b4b65c1abf0 Mon Sep 17 00:00:00 2001 From: Jakub Panek Date: Thu, 11 Apr 2024 10:21:07 +0200 Subject: [PATCH] docs: use `cargo install` --- docs/building-from-source.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/building-from-source.md b/docs/building-from-source.md index 749033a9..51eb254a 100644 --- a/docs/building-from-source.md +++ b/docs/building-from-source.md @@ -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