hyprpm is the Hyprland Plugin Manager. It is used to install, remove, enable, disable, and update plugins for the Hyprland compositor. Most operations that modify the system or plugin state may require elevated privileges, which hyprpm handles internally via cacheSudo.
Commands
| Command | Usage | Description |
|---|
add | hyprpm add <url> [git rev] | Install a new plugin repository from a git URL. An optional git revision can be provided to bypass commit locks. |
remove | hyprpm remove <url|name|author/name> | Remove an installed plugin repository. |
enable | hyprpm enable <name|author/name> | Enable a specific plugin. |
disable | hyprpm disable <name|author/name> | Disable a specific plugin. |
update | hyprpm update | Check for and apply updates to all installed plugins and headers. |
reload | hyprpm reload | Reload the hyprpm state and ensure all enabled plugins are loaded. |
list | hyprpm list | List all currently installed plugins. |
purge-cache | hyprpm purge-cache | Remove the entire hyprpm cache, including built plugins, settings, and headers. |
Flags
| Flag | Short | Description |
|---|
--help | -h | Show the help menu. |
--notify | -n | Send a Hyprland notification upon successful plugin load (errors/warnings always notify). |
--verbose | -v | Enable verbose logging. |
--force | -f | Force an operation, ignoring certain checks (e.g., update -f). |
--no-nix | | Disable nix develop for build commands, even if Hyprland is running in a Nix environment. |
--no-shallow | -s | Disable shallow cloning of Hyprland sources. |
--hl-url | | Pass a custom Hyprland source URL. |
Examples
Install a plugin from a git repository:
hyprpm add https://github.com/example/hyprland-plugin
Install a specific revision of a plugin:
hyprpm add https://github.com/example/hyprland-plugin v1.0.0
Update all plugins and notify on success:
hyprpm update --notify
# Example usage
hyprpm add https://github.com/example/hyprland-plugin
hyprpm update
hyprpm list