Skip to content

Commit 56cc104

Browse files
authored
fix: add curl install command to README (#5)
1 parent bc17f7b commit 56cc104

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ CLI for [OneCLI](https://onecli.sh) — manage agents, secrets, and configuratio
44

55
## Install
66

7-
Download from [GitHub Releases](https://github.com/onecli/onecli-cli/releases), or build from source:
7+
```bash
8+
curl -fsSL onecli.sh/cli/install | sh
9+
```
10+
11+
Or download from [GitHub Releases](https://github.com/onecli/onecli-cli/releases), or build from source:
812

913
```bash
1014
go install github.com/onecli/onecli-cli/cmd/onecli@latest
@@ -13,17 +17,12 @@ go install github.com/onecli/onecli-cli/cmd/onecli@latest
1317
## Quick Start
1418

1519
```bash
20+
onecli auth login --api-key oc_...
1621
onecli agents list
1722
onecli secrets list
1823
onecli agents create --name "My Agent" --identifier my-agent
1924
```
2025

21-
If the server requires authentication:
22-
23-
```bash
24-
onecli auth login --api-key oc_...
25-
```
26-
2726
## Commands
2827

2928
### Agents

0 commit comments

Comments
 (0)