Skip to content

Commit 17ce6e7

Browse files
authored
update env setup in quickstart guide to starkup 0.3.0
1 parent 0361979 commit 17ce6e7

File tree

1 file changed

+8
-56
lines changed

1 file changed

+8
-56
lines changed

modules/guides/pages/quickstart/environment-setup.adoc

Lines changed: 8 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,20 @@ To review these tools in more detail, as well as all other Starknet developer to
2222

2323
== Setting up your environment on MacOS and Linux
2424

25-
=== Installing Scarb and Starknet Foundry
26-
27-
28-
On MacOS and Linux, Scarb and Starknet Foundry can be easily installed using the https://github.com/software-mansion/starkup[Starkup installer^] by running:
25+
On MacOS and Linux, Scarb, Starknet Foundry and Starknet Devnet can be easily installed using the https://github.com/software-mansion/starkup[Starkup installer^] by running:
2926

3027
[source,terminal]
3128
----
3229
curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.sh | sh
3330
----
3431

35-
and following the onscreen instructions. You can verify that Scarb and Starknet Foundry are installed correctly by running:
32+
and following the onscreen instructions. You can verify that all three tools are installed correctly by running:
3633

3734
[source,terminal]
3835
----
3936
scarb --version
4037
snforge --version && sncast --version
38+
starknet-devnet --version
4139
----
4240

4341
If the installation was successful, the result should resemble the following:
@@ -48,65 +46,19 @@ scarb 2.11.4 (c0ef5ec6a 2025-04-09)
4846
cairo: 2.11.4 (https://crates.io/crates/cairo-lang-compiler/2.11.4)
4947
sierra: 1.7.0
5048
51-
snforge 0.42.0
52-
sncast 0.42.0
49+
snforge 0.45.0
50+
sncast 0.45.0
51+
52+
starknet-devnet 0.4.3
5353
----
5454

5555
[NOTE]
5656
====
57-
Starkup installs Scarb and Starknet Foundry Devnet on MacOS and Linux via the https://asdf-vm.com/[`asdf` version manager^], which allows to easily switch between their different versions, both globally and per project (see full details in the https://asdf-vm.com/manage/commands.html[`asdf` documentation^] or by running `asdf --help`). Alongside Scarb and Starknet Foundry, Starkup uses `asdf` to install additional useful tools, including the https://github.com/software-mansion/universal-sierra-compiler[Universal Sierra Compiler^], https://github.com/software-mansion/cairo-profiler[Cairo Profiler^], https://github.com/software-mansion/cairo-coverage[Cairo Coverage^], and https://github.com/software-mansion/cairols[CairoLS^].
57+
Starkup installs Scarb, Starknet Foundry, and Starknet Devnet on MacOS and Linux via the https://asdf-vm.com/[`asdf` version manager^], which allows to easily switch between their different versions, both globally and per project (see full details in the https://asdf-vm.com/manage/commands.html[`asdf` documentation^] or by running `asdf --help`). Alongside Scarb and Starknet Foundry, Starkup uses `asdf` to install additional useful tools, including the https://github.com/software-mansion/universal-sierra-compiler[Universal Sierra Compiler^], https://github.com/software-mansion/cairo-profiler[Cairo Profiler^], https://github.com/software-mansion/cairo-coverage[Cairo Coverage^], and https://github.com/software-mansion/cairols[CairoLS^].
5858
5959
If you encounter any issues while using it or have any requests, please help by https://github.com/software-mansion/starkup/issues/new[submitting an issue^].
6060
====
6161

62-
=== Installing Starknet Devnet
63-
64-
xref:#installing-scarb-and-snfoundry[Similar to Scarb and Starknet Foundry], it is highly recommended to install Starknet Devnet on MacOS and Linux via the `asdf` version manager. Luckily, if you installed Scarb and Starknet Foundry using the Starkup installer, you should already have `asdf` installed. To install Starknet Devnet using `asdf`:
65-
66-
. Verify that `asdf` is installed:
67-
+
68-
[source,terminal]
69-
----
70-
asdf --version
71-
----
72-
+
73-
or install it by following the instructions in the link:https://asdf-vm.com/guide/getting-started.html[`asdf` documentation].
74-
75-
. Install the `asdf` Starknet Devnet plugin:
76-
+
77-
[source,terminal]
78-
----
79-
asdf plugin add starknet-devnet
80-
----
81-
82-
. Install the latest version of Starknet Devnet:
83-
+
84-
[source,terminal]
85-
----
86-
asdf install starknet-devnet latest
87-
----
88-
89-
. Set global version for Starknet Devnet:
90-
+
91-
[source,terminal]
92-
----
93-
asdf set -u starknet-devnet latest
94-
----
95-
96-
. Restart the terminal and verify that Starknet Devnet is installed correctly:
97-
+
98-
[source,terminal]
99-
----
100-
starknet-devnet --version
101-
----
102-
103-
If the installation was successful, the result should resemble the following:
104-
105-
[source,terminal]
106-
----
107-
starknet-devnet 0.4.1
108-
----
109-
11062
== Setting up your environment on Windows
11163

11264
Setting up Scarb and Starknet Foundry on Windows requires configuring the Windows Subsystem for Linux (WSL) and installing the tools inside a Linux distribution such as Ubuntu.

0 commit comments

Comments
 (0)