You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -149,4 +155,62 @@ Scarb's installation on Windows requires manual setup.
149
155
scarb --version
150
156
----
151
157
152
-
Scarb should now be installed.
158
+
Scarb should now be installed.
159
+
160
+
[#starknet_foundry_setup]
161
+
== Setting up Starknet Foundry
162
+
163
+
// Starknet Foundry is the go to framework for building, and testing Starknet Smart Contracts.
164
+
165
+
=== Installing Starknet Foundry on MacOS and Linux
166
+
167
+
Although other options are possible, it is highly recommended to install Starknet Foundry using the link:https://asdf-vm.com/[`asdf` version manager]. Installing Starknet Foundry with `asdf` allows to easily switch between different versions of Starknet Foundry, both globally and per project.
168
+
169
+
.Procedure
170
+
171
+
. Verify that `asdf` is installed, or install it by following the instructions on the link:https://asdf-vm.com/guide/getting-started.html[`asdf` documentation].
172
+
173
+
. Install the `asdf` Starknet Foundry plugin:
174
+
+
175
+
[source, bash]
176
+
----
177
+
asdf plugin-add starknet-foundry
178
+
----
179
+
180
+
. Install the latest version of Starknet Foundry:
181
+
+
182
+
[source, bash]
183
+
----
184
+
asdf install starknet-foundry latest
185
+
----
186
+
187
+
// . Set a global version for Starknet Foundry using `asdf`:
188
+
// +
189
+
// [source, bash]
190
+
// ----
191
+
// asdf global starknet-foundry latest
192
+
// ----
193
+
194
+
195
+
. Verify that Starknet Foundry is installed correctly:
196
+
+
197
+
[source, bash]
198
+
----
199
+
snforge --version
200
+
sncast --version
201
+
----
202
+
203
+
=== Installing Starknet Foundry on Windows
204
+
205
+
Starknet Foundry's installation on Windows requires manual setup.
206
+
207
+
.Procedure
208
+
209
+
. Follow the steps in the link:https://foundry-rs.github.io/starknet-foundry/getting-started/installation.html#installation-on-windows[Starknet Foundry documentation].
210
+
. Restart the terminal and verify that Starknet Foundry is installed correctly:
0 commit comments