mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-02 02:34:42 +08:00
feat(release): publish standalone CLI archives
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user