Skip to content

Commit

Permalink
fix(environment-setup): set scarb version first (#1472)
Browse files Browse the repository at this point in the history
If you try `--version` before you tell `asdf` which version to use, you
get an error:

```
No version is set for command scarb
Consider adding one of the following versions in your config file at
scarb 2.9.2
```
  • Loading branch information
chadoh authored Jan 8, 2025
1 parent cf30d59 commit 1d00c15
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,18 @@ asdf plugin add scarb
asdf install scarb latest
----

. Restart the terminal and verify that Scarb is installed correctly:
. Set a global version for Scarb (need for using `scarb init`):
+
[source, bash]
----
scarb --version
asdf global scarb latest
----

. Set a global version for Scarb (need for using `scarb init`):
. Restart the terminal and verify that Scarb is installed correctly:
+
[source, bash]
----
asdf global scarb latest
scarb --version
----

=== Windows installation
Expand Down

0 comments on commit 1d00c15

Please sign in to comment.