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 email|user_id Add a collaborator to your app by entering their email address or user ID list List collaborators for an app remove email|user_id Remove collaborators from an app by entering their email address or user ID datastore delete Delete a datastore item get Get an item from the Slack datastore put Create/update an app datastore query Query for datastore items 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 list List details of triggers that point to the app's workflows update Updates the *entirety* of the trigger info Display trigger info listed at creation 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 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.