中文 | English
Starting from v1.0.20, the Volcengine CLI command prefix changed from volcengine-cli to ve. Earlier versions are not affected. After upgrading to v1.0.20 or later, update scripts that still call volcengine-cli.
Volcengine CLI is a command-line tool for calling and managing Volcengine OpenAPI. You can use it to configure credentials, switch profiles, discover services and actions, call APIs, and obtain temporary credentials through SSO or Console Login.
Go 1.12+ is recommended.
Install with npm:
npm install -g @volcengine/cli
ve versionThe npm package requires Node.js >= 14 and provides the ve command.
You can also download from Release:
- Open https://github.com/volcengine/volcengine-cli/releases.
- Download the archive for your OS and architecture.
- Extract it to get
ve, orve.exeon Windows.
Or build from source:
sh build.shPut ve on PATH:
sudo cp ve /usr/local/bin
ve versionve configure set --profile default --region cn-beijing --access-key AK --secret-key SK
ve sts GetCallerIdentityYou can also use environment variables:
export VOLCENGINE_ACCESS_KEY=AK
export VOLCENGINE_SECRET_KEY=SK
export VOLCENGINE_REGION=cn-beijing
ve sts GetCallerIdentity- Getting Started: install, build from source, configure PATH, and make the first API call.
- Authentication: AK/SK, default credential chain, OIDC, ECS instance role, SSO, and Console Login.
- Configuration: inspect, list, switch, update, and delete profiles.
- Usage: service discovery, API calls, fixed flags, JSON body, arrays, and nested parameters.
- Advanced Usage: shell completion, colored output, debug logs, and FAQ.
This project takes security seriously. For vulnerability reporting and supported versions, see SECURITY.md.