You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@versatly/slack-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@versatly/slack-cli

Slack CLI for workspace operations using @slack/web-api

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@versatly/slack-cli

Slack CLI for workspace operations, built on the official @slack/web-api SDK.

Install

npm install -g @versatly/slack-cli

Authentication

Set one of the following environment variables:

export SLACK_BOT_TOKEN="xoxb-..."
# or
export SLACK_USER_TOKEN="xoxp-..."

The CLI will prefer SLACK_USER_TOKEN for user-scoped commands (status, search).

Usage

slack channels list
slack channels info general
slack channels info C12345678

slack send general "Hello team!"
slack send --user U12345678 "Hello from the CLI!"

slack users list
slack users info jane.doe@example.com

slack status set "In focus" --emoji :headphones:

slack search "from:@jane has:link"

Required Slack Scopes

Suggested scopes for a Slack app token:

  • conversations:read for channel listing/info
  • chat:write for sending messages
  • im:write for opening DMs
  • users:read and users:read.email for user lookup
  • users.profile:write for status updates
  • search:read (user token only) for search

Notes

  • Channel arguments accept IDs (C..., G...) or names (general, #general).
  • User arguments accept IDs (U...) or email/name values when available.

Keywords

slack

FAQs

Package last updated on 06 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts