Downsizing logodownsizing
Downsizing logodownsizing
Documentation

Downsizing CLI

The ds CLI installs in seconds and manages everything — auth, credentials, and tool configuration.


Install

$
curl -fsSL https://downsizing.dev/api/cli/v1/install/sh | sh

If you notice any issues, let us know on Discord.

Sign in

If you skipped sign-in during install, run it now:

ds login

This opens your browser to complete authentication, or offers a headless setup if no browser is available.

Alternatively, create an account directly:

ds sign-up --email you@example.com --password yourpassword

Connect subscriptions

Send your AI provider credentials to Downsizing so the proxy can forward requests on your behalf:

ds connect

This opens an interactive picker. You can also connect a specific provider directly — see the Anthropic and OpenAI guides for details.

Link tools

Linking a tool writes the Downsizing proxy URL and credentials into that tool's config file so it routes traffic automatically. Run the interactive picker to choose which tools to configure:

ds link

Each supported tool also has a direct subcommand — for example ds link <tool>. See the integrations guides for per-tool instructions.

Unlink tools

Unlinking removes the Downsizing configuration from a tool's config file, restoring its original state. Run the interactive picker to choose which linked tools to remove:

ds unlink

Direct subcommands are also available — ds unlink <tool>. All link and unlink commands are idempotent — safe to run multiple times.

Check status

ds status

Shows your account, which tools are linked, and whether the background service is running.

Command reference

CommandDescription
ds sign-upCreate a new account
ds loginSign in
ds logoutSign out
ds connectConnect AI provider subscriptions (interactive)
ds connect anthropicConnect Anthropic subscription
ds connect openaiConnect OpenAI subscription
ds linkLink tools to Downsizing (interactive)
ds link <tool>Link a specific tool directly
ds unlinkUnlink tools from Downsizing (interactive)
ds unlink <tool>Unlink a specific tool directly
ds statusShow account, tools, and service state
ds resetClear everything and return to defaults