The command line for Stream's Chat, Video, Feeds and
Moderation APIs. Run it yourself, or hand it to your coding agent.
Stream apps are normally managed in the web Dashboard, which your agent can't
use. The CLI puts the same work in the terminal, where both of you can do it,
and it keeps your app's secret in a local file so it never enters the agent's
context.
Install
npm install -g @stream-io/cli
This installs the getstream command on macOS and Linux (x64 and arm64) and
needs Node.js 22.15 or newer. On Windows, use WSL.
Then connect your working directory to your Stream app:
getstream init
init signs you in and links one of your apps (or creates a new one), then
offers to install the agent skills. That's the whole setup!
For a one-off run without installing, npx @stream-io/cli@latest <command>
works too.
Telemetry
The CLI may send anonymous telemetry events. Opt out with telemetry: off in
~/.stream/config.yaml or DO_NOT_TRACK=1.