Skip to content

Quick Start

1. Installation

Run the following commands in your terminal to install:

  1. Download the latest version

x86-64

curl -O "https://releases.pentium.network/rapd-cli/latest/rapd_linux_amd64.zip" && unzip rapd_linux_amd64.zip

arm64

curl -O "https://releases.pentium.network/rapd-cli/latest/rapd_linux_arm64.zip" && unzip rapd_linux_arm64.zip
  1. Configure the executable

Root user

sudo install -o root -g root -m 0755 rapd /usr/local/bin/rapd

Non-root user, you can still configure it in ~/.local/bin

chmod +x rapd
mkdir -p ~/.local/bin
mv ./rapd ~/.local/bin/rapd
# and then append (or prepend) ~/.local/bin to $PATH

Test rapd Execution

rapd version

2. Configuration

The Config saves the information required for connecting to the RAPD Engine, allowing the rapd CLI to communicate with the Engine on behalf of the given user.

Note: rapd CLI Config is compatible with Kubernetes kube config.

How to Obtain

  1. Go to the RAPD platform management page
  2. Click on your profile picture - Click on System
  3. From the menu, click RAPD CLI
  4. Click Download to get it

How CLI Reads Configuration

The default path for rapd CLI to read the Config is ${Home}/.kube/, so you just need to place the downloaded Config into the ${Home}/.kube/ directory to complete the setup.

Next Steps