Installation
Rust API
Simply install the Rust API with Cargo
.
cargo add alphadb
Python API
Simply install the Python API with PIP
.
pip install alphadb
Note that pip
refers to the Python 3 package manager. In an environment where Python 2 is also present the correct command may be pip3
.
Node.js API
Simply install with your favourite package manager.
npm i @w-kuipers/alphadb
Command line interface
MacOS
Homebrew
brew install alphadb
Platform-Independent
Cargo
cargo install alphadb-cli
Tarball
#### Upon stable release, get latest version like so
# version=$(curl -s "https://api.github.com/repos/w-kuipers/alphadb/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
#### For now, the lates beta release
version="v1.0.0-beta.30"
curl -Lo alphadb-cli_${version}_Linux_x86_64.tar.gz "https://github.com/w-kuipers/alphadb/releases/download/${version}/alphadb-cli_${version}_Linux-x86_64.tar.gz"
tar xf alphadb-cli_${version}_Linux_x86_64.tar.gz alphadb
sudo install alphadb /usr/local/bin
rm alphadb alphadb-cli_${version}_Linux_x86_64.tar.gz