Skip to main content

Rundeck CLI - Install


Rundeck CLI - Install

All artifacts can be downloaded from: github releasesopen in new window

Jar install

Download the rundeck-cli-2.0.8 -all.jar from github releasesopen in new window.

Simply execute:

    java -jar rundeck-cli-2.0.8
-all.jar

Zip install

Download the rd-2.0.8 .zip from github releasesopen in new window.

Install:

$ unzip rd-2.0.8
.zip
rd-2.0.8

├── bin
│   ├── rd
│   └── rd.bat
└── lib
    ├── ....jar

Execute:

rd-2.0.8
/bin/rd

Yum usage


NOTE: If you previously installed via Bintray Yum repo (RD version prior to 1.3.9), please remove the /etc/yum.repos.d/bintray.repo file if it exists.


Add Yum Repo:

curl https://raw.githubusercontent.com/rundeck/packaging/main/scripts/rpm-setup.sh 2> /dev/null | bash -s rundeck

Optional: enable all gpg checks:

$ sed -i.bak s/gpgcheck=0/gpgcheck=1/ /etc/yum.repos.d/rundeck.repo
$ rpm --import https://raw.githubusercontent.com/rundeck/packaging/main/pubring.gpg

Finally: install rundeck-cli

yum install rundeck-cli

Download RPM Package

Or Download individual packages at rundeck-cli rpms via packagecloudopen in new window

Debian usage


NOTE: If you previously installed via the Bintray APT repo (rd version prior to 1.3.9), please remove the line deb https://dl.bintray.com/rundeck/rundeck-deb / from your /etc/apt/sources.list file.


Install the packagecloud APT repo for rundeck:

curl -s https://packagecloud.io/install/repositories/pagerduty/rundeck/script.deb.sh | os=any dist=any bash

Finally: install rundeck-cli

apt-get install rundeck-cli

Download Deb Package

Or Download individual packages at rundeck-cli debs via packagecloudopen in new window

Arch Linux install

Make sure you're familiarized with the AURopen in new window

git clone https://aur.archlinux.org/rundeck-cli.git
cd rundeck-cli
makepkg -i

Windows install

Download the rd-2.0.8 .zip from github releasesopen in new window.

To install, unzip the file in your desired installation directory.

Add the $DestinationDirectory\bin folder to Windows PATH.

Set up Windows Environment Variables for RD_URL and RD_TOKEN if desired.

To execute, open a Powershell/CMD and run:

rd.bat

To avoid conflicts with 'rd' Windows command to delete a directory, you should rename your 'rd.bat' file to something else, like 'rdcli.bat' :::