Skip to content

Commit

Permalink
[doc][prover] add doc for installing Move prover dependencies (#692)
Browse files Browse the repository at this point in the history
add doc
  • Loading branch information
rahxephon89 authored Nov 4, 2024
1 parent c443ff4 commit 18d1ac9
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion apps/nextra/pages/en/build/cli/setup-cli/install-move-prover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ import { Callout } from 'nextra/components'
# Install the Move Prover

If you want to use the [Move Prover](../../smart-contracts/prover.mdx), install the Move Prover dependencies after [installing the CLI binary](.).
There are two ways to install Prover dependencies.

## Installation through Aptos CLI (Recommended)

1. [Install the latest Aptos CLI binary](../install-cli/install-cli-mac.mdx).

2. Execute the command `aptos update prover-dependencies`.

<Callout type="info">
Environment variables `BOOGIE_EXE` and `Z3_EXE` will be set automatically after installation. Please make sure
they are in effect in the current environment.
</Callout>

## Installation through `aptos-core` (Not Recommended)

1. See [Building Aptos From Source](../../../network/nodes/building-from-source.mdx)

Expand All @@ -27,7 +41,8 @@ If you want to use the [Move Prover](../../smart-contracts/prover.mdx), install

</details>

3. You can now run the Move Prover to prove an [example](https://github.com/aptos-labs/aptos-core/tree/main/aptos-move/move-examples/hello_prover):

After installation, you can run the Move Prover to prove an [example](https://github.com/aptos-labs/aptos-core/tree/main/aptos-move/move-examples/hello_prover):
```bash filename="Terminal"
aptos move prove --package-dir aptos-move/move-examples/hello_prover/
```
Expand Down

0 comments on commit 18d1ac9

Please sign in to comment.