If you can install hammer from git checkouts, you will just need rake installed on your system.
Clone and install CLI core
$ git clone https://github.com/theforeman/hammer-cli.git
$ cd hammer-cli
$ bundle install
$ rake install
$ cd ..clone plugin with foreman commands
$ git clone https://github.com/theforeman/hammer-cli-foreman.git
$ cd hammer-cli-foreman
$ bundle install
$ rake install
$ cd ..and optionally other plugins.
- Add the plugin as a gem to
Gemfile.local.rb - Copy the configuration files to proper locations manually, please check our configuration instructions and see how to proceed.