@hyperdx/cli v0.4.1
Patch Changes
-
f6a1d02: Add support for event patterns in MCP server, reduce code duplication
-
253cf5b: Fix CLI version flag reporting hardcoded 0.1.0 instead of the actual package version
-
4104364: feat: support multiple teams and kubectx-style team switching in the CLI
Adds three new commands for users that belong to multiple teams (HyperDX Cloud /
EE):hdx team list— list every team the authenticated user belongs to, marking
the active onehdx team current— print the currently active teamhdx team use <name-or-id>— switch the active team (matched by team ID or
case-insensitive name)
The active team is persisted to
~/.config/hyperdx/cli/session.jsonso the
choice survives across CLI invocations, and the CLI now sends anx-hdx-team
header on every API and ClickHouse-proxy request so the server scopes data to
the chosen team.hdx auth statusalso surfaces the active team.On single-team OSS deployments these commands are effectively no-ops.
Installation
npm (recommended):
npm install -g @hyperdx/cliOr run directly with npx:
npx @hyperdx/cli tui -s <your-hyperdx-api-url>Manual download (standalone binary, no Node.js required):
# macOS Apple Silicon
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.4.1/hdx-darwin-arm64 -o hdx
# macOS Intel
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.4.1/hdx-darwin-x64 -o hdx
# Linux x64
curl -L https://github.com/hyperdxio/hyperdx/releases/download/cli-v0.4.1/hdx-linux-x64 -o hdx
chmod +x hdx && sudo mv hdx /usr/local/bin/Usage
hdx auth login -s <your-hyperdx-api-url>
hdx tui