From eb8d800347365bc53825fd49eaaf6bef2a2476f3 Mon Sep 17 00:00:00 2001
From: ptisserand
Date: Mon, 7 Oct 2024 12:54:12 +0200
Subject: [PATCH] Update doc: starknet-devnet is now part of asdf-vm community
plugins (#622)
* [skip ci]
---
website/docs/running/install.md | 26 ++++++++++++++++++-
.../version-0.2.0/running/install.md | 26 ++++++++++++++++++-
2 files changed, 50 insertions(+), 2 deletions(-)
diff --git a/website/docs/running/install.md b/website/docs/running/install.md
index 567e3a4e5..280d472d4 100644
--- a/website/docs/running/install.md
+++ b/website/docs/running/install.md
@@ -35,7 +35,31 @@ $ cargo install --git https://github.com/0xSpaceShard/starknet-devnet-rs.git --l
### Install with `asdf`
-- Follow the instructions from the [asdf-starknet-devnet](https://github.com/ptisserand/asdf-starknet-devnet) repo.
+- Run the following to add the `starknet-devnet` plugin
+
+```
+$ asdf plugin add starknet-devnet
+```
+
+- Show all installable versions:
+
+```
+$ asdf list-all starknet-devnet
+```
+
+- Install latest version:
+
+```
+$ asdf install starknet-devnet latest
+```
+
+- Install specific version:
+
+```
+$ asdf install starknet-devnet 0.2.0
+```
+
+Check [asdf guide](https://asdf-vm.com/guide/getting-started.html) for more instructions on how to install & manage versions.
### Run the installed executable
diff --git a/website/versioned_docs/version-0.2.0/running/install.md b/website/versioned_docs/version-0.2.0/running/install.md
index 567e3a4e5..280d472d4 100644
--- a/website/versioned_docs/version-0.2.0/running/install.md
+++ b/website/versioned_docs/version-0.2.0/running/install.md
@@ -35,7 +35,31 @@ $ cargo install --git https://github.com/0xSpaceShard/starknet-devnet-rs.git --l
### Install with `asdf`
-- Follow the instructions from the [asdf-starknet-devnet](https://github.com/ptisserand/asdf-starknet-devnet) repo.
+- Run the following to add the `starknet-devnet` plugin
+
+```
+$ asdf plugin add starknet-devnet
+```
+
+- Show all installable versions:
+
+```
+$ asdf list-all starknet-devnet
+```
+
+- Install latest version:
+
+```
+$ asdf install starknet-devnet latest
+```
+
+- Install specific version:
+
+```
+$ asdf install starknet-devnet 0.2.0
+```
+
+Check [asdf guide](https://asdf-vm.com/guide/getting-started.html) for more instructions on how to install & manage versions.
### Run the installed executable