Installing and managing modules from the command line
Install, upgrade, and uninstall Forge modules from the command line with the puppet module
command.
The puppet
module
command provides an interface for managing modules from the Forge. Its interface is similar to other common package
managers, such as gem
,
apt-get
, or yum
. You can install, upgrade,
uninstall, list, and search for modules with this command.
If you are using Code Manager or r10k, do not
install, update, or uninstall modules with the
puppet module
command. With code management, you must install
modules with a Puppetfile. Code management purges modules
that were installed with the puppet module
command. See the Puppetfile documentation for
instructions.