Skip to main content
This guide provides multiple ways to install the Composio CLI on your system.

One-line Install

The fastest way to install the Composio CLI:
This installer:
  • Detects your platform and architecture automatically
  • Downloads the appropriate binary from GitHub releases
  • Installs to ~/.composio/bin/composio
  • Updates your shell configuration (.bashrc, .zshrc, or .config/fish/config.fish)
  • Adds the binary to your PATH

Install Specific Version

To install a specific version of the CLI:
CLI binaries use the tag format @composio/cli@<semver> (e.g., @composio/cli@0.1.24). Legacy v<semver> tags are also supported during the migration period.

Manual Installation

From GitHub Releases

  1. Go to the releases page
  2. Download the appropriate binary for your platform:
    • composio-linux-x64.zip - Linux 64-bit
    • composio-linux-aarch64.zip - Linux ARM64
    • composio-darwin-x64.zip - macOS Intel
    • composio-darwin-aarch64.zip - macOS Apple Silicon
  3. Extract and install:

Package Manager Installation

npm

pnpm

yarn

Verification

After installation, verify it works:
Expected output:

Getting Started

Once installed, follow these steps:

1. Login to Composio

This opens your browser for OAuth authentication.

2. Generate Types

Generate type-safe code for your project:

3. Check Your Account

Supported Platforms

Fully Supported
  • Linux x86_64
  • Linux ARM64 (aarch64)
  • macOS x86_64 (Intel)
  • macOS ARM64 (Apple Silicon)
Not Supported
  • Windows (use WSL or npm installation)

Troubleshooting

Permission Denied

If you get permission errors:

Command Not Found

If composio is not found after installation: 1. Restart your shell:
2. Or manually source your profile:
3. Check if the binary exists:
4. Manually add to PATH:

Download Failures

If the download fails: 1. Check your internet connection 2. Try again with verbose output:
3. Manual download:

Uninstallation

To remove Composio CLI:

Installation Environment Variables

The installer respects these environment variables: Example:

Development

To build the CLI binary locally:
The binary will be created at dist/composio.

Next Steps

Login

Authenticate with Composio

Generate

Generate type-safe code