Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@apache-doris/doriscli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
doriscli
A fast, scriptable CLI for the Apache Doris kernel. It connects over the MySQL protocol (+ the FE HTTP API), executes, and returns structured JSON.
Install
npm install -g @apache-doris/doriscli
doriscli --versionThis package ships a prebuilt native binary. On install, npm automatically pulls
only the platform package that matches your OS + CPU (via optionalDependencies
os/cpuconstraints), so there is no compile step and no Rust toolchain needed.
Supported platforms: macOS (arm64), Linux (x64, arm64). On any other platform, build from source.
Quick start
# Save a connection ("prod" is a name you choose)
doriscli auth add prod --host 127.0.0.1 --port 9030 --http-port 8030 --user root --password 'secret'
# Verify it (version, backends, workload groups)
doriscli --env prod auth status
# Query
doriscli --env prod sql "SELECT COUNT(*) FROM db.orders"See the full documentation for
sql, profile, tablet, auth, stateless mode, and SOCKS5 tunneling.