Skip to content

Commit

Permalink
Merge pull request #301 from okp4/fix/cli-go-path
Browse files Browse the repository at this point in the history
Added instruction to fix "bash: okp4d not found" issue
  • Loading branch information
antho31 authored Sep 8, 2023
2 parents c2fdd0b + a31326c commit e2d05d1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/tutorials/cli-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,20 @@ Certain aspects, such as your computer's unique characteristics (particularly fo
git clone https://github.com/okp4/okp4d.git && cd okp4d
```

2. Build and install:
2. Make sure `$GOPATH/bin` is set on the $PATH environment variable. You can add it like this:

```bash
export PATH=${PATH}:`go env GOPATH`/bin
```

3. Build and install:

<CodeBlock language="bash">
{`git checkout ${data.okp4dVersion}
make build
make install`}
</CodeBlock>

3. Verify the installation:
4. Verify the installation:

```bash
okp4d version
Expand Down

0 comments on commit e2d05d1

Please sign in to comment.