@devries-cameron20 / composio Mirror · read-only / commits / 57574e4f7
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 19:45 UTC

fix(cli): point CLI install URL at the next branch (#3758)

The documented one-line CLI install command curls `install.sh` from the `main` branch: ```bash curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash ``` But the repository's default branch is `next` and there is no `main` branch. `raw.githubusercontent.com` does not fall back to the default branch, so the documented command returns HTTP 404 and the install fails for anyone who copies it from `INSTALL.md`. This replaces the `main` branch segment with `next` in the `raw.githubusercontent.com/ComposioHQ/composio/<branch>/install.sh` URL at every documented occurrence, so the install one-liner resolves. It matches the `next` branch already used for the raw asset URL in `README.md`. `install.sh` itself needs no change: it downloads binaries from release assets, not from a branch raw URL. Fixes # <!-- No open issue; self-identified bug. Leave the Fixes line blank, or remove it. --> ### Changes - `INSTALL.md`: update the 5 `.../composio/main/install.sh` URLs to `.../composio/next/install.sh` (One-line Install, Install specific version, and the Troubleshooting / manual-download / environment-variable examples). - `.github/workflows/build-cli-binaries.yml`: same `main` -> `next` update at the 2 URLs inside the `create-install-instructions` job's heredoc, which regenerates `INSTALL.md` as a GitHub Release artifact, so the released copy carries the working URL too and stays consistent with the checked-in file. ### Type of change - [ ] Bug fix - [ ] New feature - [ ] Refactor/Chore - [x] Documentation - [ ] Breaking change <!-- It is a documentation URL fix that also updates the CI job which regenerates that documentation. Marked Documentation; a reviewer may also consider it a Bug fix. --> ### How Has This Been Tested? No application code changed (static Markdown plus a CI heredoc), so no unit test applies. Verified the branch/URL facts directly: ``` # Default branch is next; no main branch exists git ls-remote --symref origin HEAD # -> ref: refs/heads/next git ls-remote --heads origin main next # only refs/heads/next (+ changeset-release/next); no main # The broken vs working URL, live curl -s -o /dev/null -w "%{http_code}" https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh # 404 curl -s -o /dev/null -w "%{http_code}" https://raw.githubusercontent.com/ComposioHQ/composio/next/install.sh # 200 # After the change: 0 remaining main URLs, 7 next URLs grep -rn "composio/main/install.sh" INSTALL.md .github/workflows/build-cli-binaries.yml # no matches grep -rn "composio/next/install.sh" INSTALL.md .github/workflows/build-cli-binaries.yml # 7 matches # The workflow YAML still parses cleanly after the heredoc edit python -c "import yaml; yaml.safe_load(open('.github/workflows/build-cli-binaries.yml'))" ``` ### Screenshots (if applicable) N/A. ### Checklist - [x] I have read the Code of Conduct and this PR adheres to it - [x] I ran linters/tests locally and they passed <!-- YAML re-parses; grep + curl checks above --> - [x] I updated documentation as needed <!-- this change is the documentation fix --> - [ ] I added tests or explain why not applicable <!-- N/A: static docs URL + CI heredoc, no code path to test --> - [ ] I added a changeset if this change affects published packages <!-- N/A: docs + CI only, no published package --> ### Additional context The 14 `github.com/ComposioHQ/composio/tree/main/...` `homepage` fields in `ts/**/package.json` also point at the non-existent `main` branch, but those are published-package metadata (a different URL form that would require a changeset) and are left out to keep this PR single-purpose. They are a reasonable follow-up.

Anas Khan committed Jul 7, 2026 at 02:01 UTC 57574e4f7cfff83bd6341a83938806244cb772db
2 files changed +7 -7
.github/workflows/build-cli-binaries.yml
+2 -2
@@ -298,12 +298,12 @@ jobs:
298
299 ### Linux and macOS
300 ```bash
301 - curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash
301 + curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/next/install.sh | bash
302 ```
303
304 ### Install specific version
305 ```bash
306 - curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash -s -- RELEASE_TAG_PLACEHOLDER
306 + curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/next/install.sh | bash -s -- RELEASE_TAG_PLACEHOLDER
307 ```
308
309 ## Manual Installation
INSTALL.md
+5 -5
@@ -6,12 +6,12 @@ This guide provides multiple ways to install the Composio CLI on your system.
6
7 ### One-line Install
8 ```bash
9 -curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash
9 +curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/next/install.sh | bash
10 ```
11
12 ### Install specific version
13 ```bash
14 -curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash -s -- v0.1.24
14 +curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/next/install.sh | bash -s -- v0.1.24
15 ```
16
17 ### What the install script does:
@@ -149,13 +149,13 @@ If the download fails:
149 1. **Check your internet connection**
150 2. **Try again with verbose output:**
151 ```bash
152 - curl -v -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash
152 + curl -v -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/next/install.sh | bash
153 ```
154
155 3. **Manual download:**
156 ```bash
157 # Download the install script first
158 - curl -O https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh
158 + curl -O https://raw.githubusercontent.com/ComposioHQ/composio/next/install.sh
159
160 # Review the script
161 cat install.sh
@@ -189,7 +189,7 @@ The installer respects these environment variables:
189 Example:
190 ```bash
191 export COMPOSIO_INSTALL="/usr/local"
192 -curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash
192 +curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/next/install.sh | bash
193 ```
194
195 ## Development