home / utilities / slack-cli

Slack CLI

Official · Slack
122

Official Slack CLI for creating, deploying, and managing Slack platform apps, triggers, environments, and datastores.

$curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | bash
Language
Go
Stars
122
Category
Utilities
Agent
Ready
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis

Slack CLI is Slack's official command-line tool for building and operating Slack platform apps. It covers local development, deployment, app installation, triggers, collaborators, environment variables, and datastore access for Slack app projects.

What It Enables
  • Create or initialize Slack app projects, run a local dev server with file watching, and deploy app changes to the Slack Platform.
  • Install, uninstall, link, and delete apps; manage collaborators, triggers, external auth providers, and environment variables tied to a project.
  • Inspect app activity logs and read or query app datastore records, including JSON or JSON Lines output for datastore retrieval workflows.
Agent Fit
  • Global --team, --app, and --token flags make deploy and maintenance commands usable in scripts or CI once credentials are in place.
  • Machine-readable output is real but narrow: datastore get, bulk-get, and query support --output json, and query exports can be written as JSON Lines.
  • Best for agents that own Slack app build or deploy workflows; it is a weaker fit for general Slack administration because many commands are project-scoped and some flows still rely on prompts or Slack-mediated auth.
Caveats
  • Initial authorization often requires a slash-command ticket and challenge-code flow inside Slack, so unattended setup needs a pre-created service token.
  • Several commands are limited to apps on Slack managed infrastructure, and much of the CLI still renders human-focused output instead of structured JSON.