Skip to main content

CLI Installation and Login

1. Install the CLI

Installation

Install:

curl -L https://assets.getwren.ai/wren_cli/latest/macos/wren-darwin-arm64.tar.gz \
| tar -xz && sudo mv wren-darwin-arm64 /usr/local/bin/wren && wren

Download link: wren-darwin-arm64.tar.gz

2. Log in to Wren AI Cloud

Authenticate before creating or updating projects.

wren auth login

wren-auth

You will be prompted for:

  • Organization ID: Your Wren AI organization identifier.
    • 💡 Visit Settings -> Organization -> General to get your organization ID.
  • API Key: Your authentication token.
  • API Endpoint: (Optional) Defaults to https://cloud.getwren.ai/api/

Credentials are stored in ~/.wrenai/wrenrc.yaml.