DingTalk Workspace CLI (dws)
raw JSON → 1.0.23 verified Sat May 09 auth: no javascript
DingTalk Workspace CLI is a command-line tool that bundles AI-powered productivity agent skills for DingTalk Workspace. The current stable version is 1.0.23, with frequent updates. It installs the 'dws' executable and provides commands for local agent skill management. Key differentiators include tight integration with the DingTalk ecosystem and AI capabilities for workspace automation.
Common errors
error dws: command not found ↓
cause The package is not installed globally or npx is not available.
fix
Install globally: 'npm install -g dingtalk-workspace-cli', or use 'npx dingtalk-workspace-cli'.
Warnings
gotcha The package is a CLI tool; do not attempt to import it as a module in Node.js code. ↓
fix Use the CLI via command line: 'npx dingtalk-workspace-cli' or global install.
Install
npm install dingtalk-workspace-cli yarn add dingtalk-workspace-cli pnpm add dingtalk-workspace-cli Imports
- dws wrong
Using CommonJS require on the package directly as it is a CLI not a librarycorrectRun 'npx dws' or globally install with 'npm install -g dingtalk-workspace-cli'
Quickstart
npx dingtalk-workspace-cli --help