Skip to content

Commit 3fa0571

Browse files
authored
docs: cli installation instructions in README.md (#125)
1 parent 1d5555d commit 3fa0571

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ You can use AgentAPI:
1313

1414
## Quickstart
1515

16-
1. Install `agentapi` by downloading the latest release binary from the [releases page](https://github.com/coder/agentapi/releases).
16+
1. Install `agentapi`:
17+
18+
```bash
19+
OS=$(uname -s | tr "[:upper:]" "[:lower:]");
20+
ARCH=$(uname -m | sed "s/x86_64/amd64/;s/aarch64/arm64/");
21+
curl -fsSL "https://github.com/coder/agentapi/releases/latest/download/agentapi-${OS}-${ARCH}" -o agentapi && chmod +x agentapi
22+
```
23+
24+
Alternatively, you can download the latest release binary from the [releases page](https://github.com/coder/agentapi/releases).
1725

1826
1. Verify the installation:
1927

0 commit comments

Comments
 (0)