Installation
The rp-cli binary is available as rpm or debian package on the redpesk “sdk” repository. Therefore it can be easily installed using our installation script. You need to use a supported Linux distribution:
- AlmaLinux 8.10, 9
- Debian 11, 12
- Fedora 41, 42
- Linux Mint 21, 22
- OpenSUSE 15.5, 15.6
- Ubuntu 22.04, 24.04
It is recommended to use the latest distribution version as we make sure that everything works well for them.
Full sdk environment installation
The following command line installs the full redpesk sdk environment i.e. redpesk-cli and all the packages necessary to build a Microservice binding natively.
# Retrieve the setup script and execute it
wget -O - https://raw.githubusercontent.com/redpesk-devtools/redpesk-sdk-tools/master/install-redpesk-sdk.sh | bash
Install redpesk-cli only
If you only need to install the redpesk command line (redpesk-cli) without all the development packages, run the following command.
# Retrieve the setup script and execute it
wget -O - https://raw.githubusercontent.com/redpesk-devtools/redpesk-sdk-tools/master/install-redpesk-sdk.sh | bash -s -- --rp-cli
Configuration
Once rp-cli has been installed, some manipulations are requisite to configure this tool. The configuration needed to get started is explained in redpesk infrastructure access, you will have a command to execute and some questions to answer as detailed.
$ rp-cli onboard
To finish, you will have to retrieve a token in the redpesk UI, just follow the steps with screenshots and you will be ready to use rp-cli for the following basic example.