Skip to content

Commit

Permalink
fix installation steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mslipper committed Sep 29, 2024
1 parent 9b9359b commit d53f6d5
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions pages/builders/chain-operators/tools/op-deployer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,35 @@ and make whatever changes are necessary for them to match.
## Installation

`op-deployer` is currently under active development, and must be compiled from source. Assuming you have the Go
toolchain installed, you can install `op-deployer` by running `go install github.
com/ethereum-optimism/optimism/op-chain-ops/cmd/op-deployer@latest`. This will install the `op-deployer` binary to
your local `GOPATH`.
toolchain installed, you can install `op-deployer` by following these steps:

<Steps>
### **Clone the Monorepo**:

Run the following command to clone the monorepo:

```bash
git clone https://github.com/ethereum-optimism/optimism.git
```

### **Build the Binary**:

Run the following commands to build the binary:

```bash
cd op-chain-ops
make op-deployer
```

### (Optional) Move `op-deployer` Into `$PATH`

Run the following command to move the `op-deployer` binary into your `$PATH`. Note that the path for your system
may be different:

```bash
sudo mv ./bin/op-deployer /usr/local/bin/op-deployer
```
</Steps>

## Usage

Expand Down

0 comments on commit d53f6d5

Please sign in to comment.