From 9538918d5d3783696efa990c1c83b436091b95d0 Mon Sep 17 00:00:00 2001 From: Chris T Date: Fri, 23 Feb 2024 14:36:05 -0800 Subject: [PATCH 1/2] chore(book): update install.md --- book/getting-started/install.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/book/getting-started/install.md b/book/getting-started/install.md index 8c69cd1c72..e50a97fee1 100644 --- a/book/getting-started/install.md +++ b/book/getting-started/install.md @@ -32,6 +32,15 @@ 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 either one with the following: + +```bash +rm ~/.cargo/bin/cargo-prove +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. From e28697610bfaa0fffa927e57d7059bbae49ca098 Mon Sep 17 00:00:00 2001 From: Chris T Date: Fri, 23 Feb 2024 14:42:03 -0800 Subject: [PATCH 2/2] Update install.md --- book/getting-started/install.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/book/getting-started/install.md b/book/getting-started/install.md index e50a97fee1..9b16dac984 100644 --- a/book/getting-started/install.md +++ b/book/getting-started/install.md @@ -34,10 +34,15 @@ If this works, go to the [next section](./quickstart.md) to compile and prove a ### Troubleshooting -If you have installed `cargo-prove` from source, it may conflict with sp1up's `cargo-prove` installation or vice versa. You can remove either one with the following: +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 ```