JSPM

@apache-doris/doriscli

0.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q62257F
  • License Apache-2.0

Doris CLI — SQL, profiles, and tablet analysis against an Apache Doris kernel

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 --version

    This package ships a prebuilt native binary. On install, npm automatically pulls only the platform package that matches your OS + CPU (via optionalDependencies

    • os/cpu constraints), 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.

    License

    Apache-2.0