The Hammer CLI provides users with a command-line interface for interacting with Katello. It’s our goal to make all functionality that’s accessible through Katello’s Web UI also available through Hammer so that users may use Hammer for their entire Katello workflow.
The first step to install the CLI is to setup the appropriate repositories: foreman, katello and epel.
Select your Operating System:
After setting up the appropriate repositories, install Katello:
To get started with hammer, view the help:
hammer -u <user> -p <password> --help
See the Katello Hammer CLI project if you want to get setup for contributing to the hammer code.
The 2021 community survey is now live! Please take a few minutes to fill it out and help us make Foreman better!