From 7b0fb90bd85e3b835bcbe3014db1b1f3919194df Mon Sep 17 00:00:00 2001
From: simple8720 <86885634+opfocus@users.noreply.github.com>
Date: Fri, 27 Oct 2023 15:46:15 +0800
Subject: [PATCH] Update getting-started.md
The original statement "yarn install: foundry" has the following issues:
- There was no prior mention of installing Yarn.
- This command appears to be only available within the "optimism" directory, and we haven't yet cloned the "optimism" repository.
- Even if you successfully download "foundry" using this method, it will not be immediately usable.
---
src/docs/build/getting-started.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/docs/build/getting-started.md b/src/docs/build/getting-started.md
index 158eb64..50ac2be 100644
--- a/src/docs/build/getting-started.md
+++ b/src/docs/build/getting-started.md
@@ -45,7 +45,7 @@ This tutorial was checked on:
| Go | 1.20 | `sudo apt update`
`wget https://go.dev/dl/go1.20.linux-amd64.tar.gz`
`tar xvzf go1.20.linux-amd64.tar.gz`
`sudo cp go/bin/go /usr/bin/go`
`sudo mv go /usr/lib`
`echo export GOROOT=/usr/lib/go >> ~/.bashrc`
| Node | 16.19.0 | `curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -`
`sudo apt-get install -y nodejs npm`
| pnpm | 8.5.6 | `sudo npm install -g pnpm`
-| Foundry | 0.2.0 | `yarn install:foundry`
+| Foundry | 0.2.0 | `curl -L https://foundry.paradigm.xyz | bash`
`. ~/.bashrc`
`foundryup`
### Configuring direnv