Skip to content

Commit d53f6d5

Browse files
committed
fix installation steps
1 parent 9b9359b commit d53f6d5

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

pages/builders/chain-operators/tools/op-deployer.mdx

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,35 @@ and make whatever changes are necessary for them to match.
1616
## Installation
1717

1818
`op-deployer` is currently under active development, and must be compiled from source. Assuming you have the Go
19-
toolchain installed, you can install `op-deployer` by running `go install github.
20-
com/ethereum-optimism/optimism/op-chain-ops/cmd/op-deployer@latest`. This will install the `op-deployer` binary to
21-
your local `GOPATH`.
19+
toolchain installed, you can install `op-deployer` by following these steps:
20+
21+
<Steps>
22+
### **Clone the Monorepo**:
23+
24+
Run the following command to clone the monorepo:
25+
26+
```bash
27+
git clone https://github.com/ethereum-optimism/optimism.git
28+
```
29+
30+
### **Build the Binary**:
31+
32+
Run the following commands to build the binary:
33+
34+
```bash
35+
cd op-chain-ops
36+
make op-deployer
37+
```
38+
39+
### (Optional) Move `op-deployer` Into `$PATH`
40+
41+
Run the following command to move the `op-deployer` binary into your `$PATH`. Note that the path for your system
42+
may be different:
43+
44+
```bash
45+
sudo mv ./bin/op-deployer /usr/local/bin/op-deployer
46+
```
47+
</Steps>
2248

2349
## Usage
2450

0 commit comments

Comments
 (0)