diff --git a/credible/credible-install.mdx b/credible/credible-install.mdx index a39f005..c952105 100644 --- a/credible/credible-install.mdx +++ b/credible/credible-install.mdx @@ -22,13 +22,17 @@ This will install the `pcl` binary. Another convenient way to install `pcl` is using Cargo. It does require a couple of pre-requisites though: -- **Rust Nightly** (version 1.80 or later) +- **Rust Stable** (version 1.81 or later) or **Rust Nightly** (version 1.80 or later) - **Git** ```bash cargo +nightly install --git https://github.com/phylaxsystems/credible-sdk --locked pcl ``` + +If above fails, try updating Rust with `rustup update` and try again. + + This will install the `pcl` binary in your Cargo installation directory (typically `~/.cargo/bin` on Unix-like systems). Make sure this directory is in your PATH. ### Option 3: Build from Source @@ -36,7 +40,7 @@ This will install the `pcl` binary in your Cargo installation directory (typical This option is recommended if you want more control over the build process or prefer to build from source. Prerequisites: -- **Rust Nightly** (version 1.80 or later) +- **Rust Stable** (version 1.81 or later) or **Rust Nightly** (version 1.80 or later) - **Git** 1. Clone the repository: @@ -50,6 +54,10 @@ Prerequisites: cargo build --release --bin pcl ``` + +If above fails, try updating Rust with `rustup update` and try again. + + 3. The compiled binary will be available in the `target/release` directory. 4. (Optional) Add the binary to your PATH for easier access: