INSTALL.md
This guide provides multiple ways to install the Composio CLI on your system.
curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash
curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash -s -- v0.1.24
~/.composio/bin/composioGo to the releases page
Download the appropriate binary for your platform:
composio-linux-x64.zip - Linux 64-bitcomposio-linux-aarch64.zip - Linux ARM64composio-darwin-x64.zip - macOS Intelcomposio-darwin-aarch64.zip - macOS Apple SiliconExtract and install:
# Extract the binary
unzip composio-*.zip
# Move to a directory in your PATH
sudo mv composio /usr/local/bin/
# Make it executable
chmod +x /usr/local/bin/composio
npm install -g @composio/cli
pnpm add -g @composio/cli
yarn global add @composio/cli
After installation, verify it works:
composio --version
composio --help
Login to Composio:
composio login
Generate types for your project:
# Auto-detect project type and generate
composio generate
# Generate for TypeScript
composio ts generate
# Generate for Python
composio py generate
Check your account:
composio whoami
✅ Fully Supported:
❌ Not Supported:
If you get permission errors:
chmod +x ~/.composio/bin/composio
If composio is not found after installation:
Restart your shell:
exec $SHELL
Or manually source your profile:
# For bash
source ~/.bashrc
# For zsh
source ~/.zshrc
# For fish
source ~/.config/fish/config.fish
Check if the binary exists:
ls -la ~/.composio/bin/composio
Manually add to PATH:
export PATH="$HOME/.composio/bin:$PATH"
If the download fails:
Check your internet connection
Try again with verbose output:
curl -v -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash
Manual download:
# Download the install script first
curl -O https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh
# Review the script
cat install.sh
# Run it
bash install.sh
To remove Composio CLI:
# Remove the binary
rm -rf ~/.composio
# Remove from shell configuration
# Edit ~/.bashrc, ~/.zshrc, or ~/.config/fish/config.fish
# and remove the lines that were added by the installer:
# export COMPOSIO_INSTALL="$HOME/.composio"
# export PATH="$COMPOSIO_INSTALL/bin:$PATH"
The installer respects these environment variables:
COMPOSIO_INSTALL - Installation directory (default: ~/.composio)GITHUB - GitHub base URL (default: https://github.com)Example:
export COMPOSIO_INSTALL="/usr/local"
curl -fsSL https://raw.githubusercontent.com/ComposioHQ/composio/main/install.sh | bash
To build the CLI binary locally:
cd ts/packages/cli
pnpm install
pnpm build:binary
The binary will be created at dist/composio.