Skip to content
Installation

Installation

Quick install (macOS / Linux)

curl -fsSL https://raw.githubusercontent.com/kineticloom/plydb/main/install.sh | sh

Quick install (Windows — PowerShell)

irm https://raw.githubusercontent.com/kineticloom/plydb/main/install.ps1 | iex

Options

The install script accepts the following environment variables:

VariableDescriptionDefault
PLYDB_INSTALL_DIRWhere to place the binary~/.local/bin
PLYDB_VERSIONVersion tag to install (e.g. v0.1.0)latest

For example, to install a specific version to a custom directory:

PLYDB_INSTALL_DIR=/usr/local/bin PLYDB_VERSION=v0.1.0 \
  curl -fsSL https://raw.githubusercontent.com/kineticloom/plydb/main/install.sh | sh

Manual download

Pre-built binaries for all platforms are available on the Releases page. Download the archive for your OS and architecture, extract it, and place the plydb binary somewhere on your PATH.

Build from source

If you have the source repository cloned, you can build from source:

make build