CLI

Manage servers, messages, and apps from the terminal

The start CLI connects to start.chat from your terminal.

Install

Terminal

npm install -g start

Authenticate

Terminal

start login

Opens a browser to pick a server. Credentials save to ~/.start/credentials/.

Skip the browser with a key directly:

Terminal

start login --key sk_live_xxx --server my-server

Commands

CommandDescription
loginLog in via browser to connect a server
logoutRemove saved credentials for a server
chatLaunch interactive terminal chat
configManage start configuration
appBuild, publish, and manage apps
apiQuery and mutate start.chat data

Examples

Terminal

# list servers
start api server list
# list channels
start api channel list srv_abc123
# send a message
start api message send ch_abc123 "Hello from the CLI"
# read messages as JSON
start api message list srv_abc123 ch_abc123 --json | jq '.[0]'
# manage config
start config set defaultServer my-server
start config list
# build and publish an app
start app build ./my-app
start app publish ./my-app
# interactive chat
start chat