Quick Start
1. Installation
Run the following commands in your terminal to install:
- 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
- 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 rapdmkdir -p ~/.local/binmv ./rapd ~/.local/bin/rapd# and then append (or prepend) ~/.local/bin to $PATH
- Download the latest version
Apple Silicon
curl -O "https://releases.pentium.network/rapd-cli/latest/rapd_darwin_arm64.zip" && unzip rapd_darwin_arm64.zip
Intel Silicon
curl -O "https://releases.pentium.network/rapd-cli/latest/rapd_darwin_amd64.zip" && tar -xzvf rapd_darwin_amd64.zip
- Set the executable permission
chmod +x ./rapd
- Move the rapd file to the system
PATH
sudo mv ./rapd /usr/local/bin/rapd
- Download the latest version
x86-64
curl -O "https://releases.pentium.network/rapd-cli/latest/rapd_windows_amd64.zip"
arm64
curl -O "https://releases.pentium.network/rapd-cli/latest/rapd_windows_arm64.zip"
- Extract the zip file
- Add the rapd executable directory to your
PATH
environment variable
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
- Go to the RAPD platform management page
- Click on your profile picture - Click on System
- From the menu, click RAPD CLI
- Click Download to get it
Regular users typically need to prepare their own Kubernetes Server. Users must copy a kube config from the Kubernetes Server to their environment.
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
Start Deploying Your Application Follow the tutorial to deploy your first application