Update nitro-rpc-client installation steps

This commit is contained in:
Prathamesh Musale 2024-07-18 10:50:44 +05:30
parent 2d9dad96d8
commit 414e0ad314

View File

@ -331,19 +331,21 @@
```bash ```bash
cd tls cd tls
make create-cert make create-cert
# Go back to go-nitro
cd ../
``` ```
4. Install `nitro-rpc-client` package globally (run outside of go-nitro): 4. Install `nitro-rpc-client` package globally:
```bash ```bash
cd ~ # In go-nitro
# 'yarn global' commands only work with Yarn versions below 2.x. npm install -g ./packages/nitro-rpc-client
npm install -g <go-nitro-repo-absolute-path>/packages/nitro-rpc-client # Confirm global installation by running
nitro-rpc-client --version
``` ```
- Replace `<go-nitro-repo-absolute-path>` with absolute path to the cloned go-nitro repo
## Run ## Run
- Start L1, L2 stacks: - Start L1, L2 stacks: