feat(release): publish standalone CLI archives

This commit is contained in:
t8y2
2026-07-18 23:07:57 +08:00
parent 4bcf618162
commit 3784c16aaf
4 changed files with 123 additions and 3 deletions
+24
View File
@@ -19,6 +19,30 @@ brew install dbx-cli
The npm package installs the native CLI for the current platform automatically. Node.js 18.18.0 or newer is only needed for the npm launcher; direct native distributions do not require Node.js.
### Native downloads
The `packages-v*` GitHub Release also provides standalone native CLI archives:
| Platform | Archive |
| --- | --- |
| macOS Apple Silicon | `dbx-cli-darwin-arm64.tar.gz` |
| macOS Intel | `dbx-cli-darwin-x64.tar.gz` |
| Linux glibc ARM64 | `dbx-cli-linux-arm64-gnu.tar.gz` |
| Linux glibc x64 | `dbx-cli-linux-x64-gnu.tar.gz` |
| Windows ARM64 | `dbx-cli-win32-arm64.zip` |
| Windows x64 | `dbx-cli-win32-x64.zip` |
Verify the downloaded archive with `CLI-SHA256SUMS`, extract it, and run the native binary directly:
```bash
tar -xzf dbx-cli-linux-x64-gnu.tar.gz
chmod +x dbx
./dbx --version
./dbx connections list --json
```
Standalone binaries do not require Node.js. They read the same DBX connection storage as the desktop application; set `DBX_DATA_DIR` when using a custom or portable data directory.
## Usage
```bash