CLI overview
Thekvcdn CLI is a single Rust binary for x86-64 Linux that runs on your machine to verify, quantize, benchmark, plot, and upload .kv artifact files.
System requirements
- x86-64 Linux. ARM64 binaries are not yet published.
Global options
| Option | Environment variable | Default | Description |
|---|---|---|---|
--api-url | KVCDN_API_URL | https://api.kvcachestore.com | Base URL of the hosted portal API |
--api-key | KVCDN_API_KEY | — | Bearer token for API-key authentication |
--help | — | — | Print help for the current command |
--version | — | — | Print the CLI version |
Subcommands
| Command | Purpose |
|---|---|
| login | Open a browser to sign in to the hosted dashboard |
| logout | Clear locally stored credentials |
| api-key | set, verify, or clear your API key |
| verify | Generate or verify a local .kv artifact against a context file |
| quant | Quantize a .kv artifact |
| benchmark | Benchmark throughput or memory of a .kv artifact |
| plot | Generate visualizations from benchmark output |
| upload | Upload a local .kv artifact to the hosted service |
Authentication
kvcdn authenticates to the hosted API with an API key. Set the key with the KVCDN_API_KEY environment variable or the api-key set command: