Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: modify installation.md file #2616

Merged
merged 10 commits into from
Nov 4, 2024
15 changes: 12 additions & 3 deletions docs/src/getting-started/installation.md
kkawula marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,22 @@ First, add the Starknet Foundry plugin to asdf:
asdf plugin add starknet-foundry
```

Install the latest version:
#### Common Error

Users may encounter this error when trying to use `snforge` or `sncast` without setting a version:

```shell
No version is set for command snforge
Consider adding one of the following versions in your config file at starknet-foundry 0.32.0
```

This error indicates that `Starknet Foundry` version is unset. To resolve it, set the version globally using asdf:

```shell
asdf install starknet-foundry latest
asdf global starknet-foundry <version>
```

See [asdf guide](https://asdf-vm.com/guide/getting-started.html) for more details.
For additional information on asdf version management, see the [asdf](https://asdf-vm.com/guide/getting-started.html#_6-set-a-version)

### Installation on Windows

Expand Down
Loading