The new Slack platform and the features described below are in beta and under active development.

Commands

Running slack help displays a usage summary:

USAGE $ slack <command> <subcommand> [flags]
COMMANDS auth info View your active workspace authorization list List all authorized workspaces login Login to a new or inactive workspace logout Log out of a workspace cloud activity Print app activity deploy Deploy the Slack app run Develop and run locally collaborator add Add a collaborator to your app list List collaborators of an app remove Remove a collaborator from an app datastore delete Delete an item from a datstore get Get an item from a datastore put Create or update an item in a datastore query Query a datastore for items env add Add an environment variable to the app list List all environment variables for the app remove Remove an environment variable from the app external-auth add Initiate the oauth2 flow for a provider in your app for the current Slack team add-secret Add client secret for a provider in your app for the current Slack team remove Remove token(s) for your app in the current Slack team function distribute Manage who can view functions published by your app manifest info Display the app manifest of the project validate Validate the app manifest of the project trigger access Manage who can run your triggers create Create a trigger from a trigger file delete Delete an existing trigger info Display trigger info listed at creation list List details of triggers declared in a valid project directory update Fully updates an existing trigger workspace install Install the app to a workspace list List all workspaces that installed the app uninstall Uninstall the app from a workspace create Create a Slack project deno Run deno command with Slack cloud context doctor Check and report on relevant system dependencies feedback Share feedback about your experience help Help for any command upgrade Check available updates for the CLI and SDK version Print the version number
FLAGS --apihost string Slack API host -f, --force Force update app manifest -h, --help Help for Slack -l, --local-run run Use the local run app created by the run command -r, --runtime string Project's runtime language: deno, deno1.1, deno1.x, etc (Default: deno) -s, --skip-update Skip checking for latest version of CLI --slackdev Use the Slack Dev API (--apihost=dev.slack.com) -v, --verbose When set, print debug logging. When used with the validate command, you will be prompted to choose an AppID to validate against. --version Version for Slack CLI -w, --workspace string Use a specific workspace by domain name

Have 2 minutes to provide some feedback?

We'd love to hear about your experience with the new Slack platform. Please complete our short survey so we can use your feedback to improve.