From 907a7fcd3b09e93427b51dd801a56b594b1f8da1 Mon Sep 17 00:00:00 2001 From: johnnyfish Date: Tue, 17 Mar 2026 23:59:15 +0200 Subject: [PATCH] fix: add curl install command to README --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index dafef04..ad21c13 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,11 @@ CLI for [OneCLI](https://onecli.sh) — manage agents, secrets, and configuratio ## Install -Download from [GitHub Releases](https://github.com/onecli/onecli-cli/releases), or build from source: +```bash +curl -fsSL onecli.sh/cli/install | sh +``` + +Or download from [GitHub Releases](https://github.com/onecli/onecli-cli/releases), or build from source: ```bash go install github.com/onecli/onecli-cli/cmd/onecli@latest @@ -13,17 +17,12 @@ go install github.com/onecli/onecli-cli/cmd/onecli@latest ## Quick Start ```bash +onecli auth login --api-key oc_... onecli agents list onecli secrets list onecli agents create --name "My Agent" --identifier my-agent ``` -If the server requires authentication: - -```bash -onecli auth login --api-key oc_... -``` - ## Commands ### Agents