From efe67d61bb6eb4d745baa121570720040858402a Mon Sep 17 00:00:00 2001 From: Chris T Date: Fri, 23 Feb 2024 17:36:41 -0800 Subject: [PATCH] chore(book): update install.md (#303) --- book/getting-started/install.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/book/getting-started/install.md b/book/getting-started/install.md index 8c69cd1c72..9b16dac984 100644 --- a/book/getting-started/install.md +++ b/book/getting-started/install.md @@ -32,6 +32,20 @@ cargo prove --version If this works, go to the [next section](./quickstart.md) to compile and prove a simple zkVM program. +### Troubleshooting + +If you have installed `cargo-prove` from source, it may conflict with sp1up's `cargo-prove` installation or vice versa. You can remove the `cargo-prove` that was installed from source with the following command: + +```bash +rm ~/.cargo/bin/cargo-prove +``` + +Or, you can remove the `cargo-prove` that was installed through `sp1up`: + +```bash +rm ~/.sp1/bin/cargo-prove +``` + ## Option 2: Building from Source Make sure you have installed the [dependencies](https://github.com/rust-lang/rust/blob/master/INSTALL.md#dependencies) needed to build the rust toolchain from source.