# Juju > Juju is an open source orchestration engine for deploying, integrating, and managing applications across Kubernetes, VMs, and bare metal using software operators called charms. 2026 CC-BY-SA, Canonical Ltd. ## Pages in this subsection - [Hook command](https://documentation.ubuntu.com/juju/4.0/reference/hook-command.md): In Juju, a **hook command** is a Bash script located in `/var/lib/juju/tools/unit-<app name>-<unit I... - [List of hook commands](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands.md): This stub is the index file for the hook command reference, the contents table below is - [`action-fail`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/action-fail.md): Sets action fail status with message. - [`action-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/action-get.md): Gets action parameters. - [`action-log`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/action-log.md): Records a progress message for the current action. - [`action-set`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/action-set.md): Sets action results. - [`application-version-set`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/application-version-set.md): Specifies which version of the application is deployed. - [`close-port`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/close-port.md): Registers a request to close a port or port range. - [`config-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/config-get.md): Prints application configuration. - [`credential-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/credential-get.md): Accesses cloud credentials. - [`goal-state`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/goal-state.md): Prints the status of the charm’s peers and related units. - [`is-leader`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/is-leader.md): Prints application leadership status. - [`juju-log`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/juju-log.md): Writes a message to Juju logs. - [`juju-reboot`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/juju-reboot.md): Reboots the host machine. - [`network-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/network-get.md): Gets network config. - [`open-port`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/open-port.md): Registers a request to open a port or port range. - [`opened-ports`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/opened-ports.md): Lists all ports or port ranges opened by the unit. - [`relation-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/relation-get.md): Get relation settings. - [`relation-ids`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/relation-ids.md): Lists all relation IDs for the given endpoint. - [`relation-list`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/relation-list.md): Lists relation units. - [`relation-model-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/relation-model-get.md): Gets details about the model housing a related application. - [`relation-set`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/relation-set.md): Sets relation settings. - [`resource-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/resource-get.md): Gets the path to the locally cached resource file. - [`secret-add`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/secret-add.md): Adds a new secret. - [`secret-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/secret-get.md): Gets the content of a secret. - [`secret-grant`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/secret-grant.md): Grants access to a secret. - [`secret-ids`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/secret-ids.md): Prints secret IDs. - [`secret-info-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/secret-info-get.md): Gets a secret’s metadata info. - [`secret-remove`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/secret-remove.md): Removes an existing secret. - [`secret-revoke`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/secret-revoke.md): Revokes access to a secret. - [`secret-set`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/secret-set.md): Updates an existing secret. - [`state-delete`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/state-delete.md): > See also: state-get, state-set - [`state-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/state-get.md): > See also: state-delete, state-set - [`state-set`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/state-set.md): > See also: state-delete, state-get - [`status-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/status-get.md): Prints status information. - [`status-set`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/status-set.md): Sets status information. - [`storage-add`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/storage-add.md): Adds storage instances. - [`storage-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/storage-get.md): Prints information for the storage instance with the specified ID. - [`storage-list`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/storage-list.md): Lists storage attached to the unit. - [`unit-get`](https://documentation.ubuntu.com/juju/4.0/reference/hook-command/list-of-hook-commands/unit-get.md): Prints public-address or private-address. ## Optional - [Top-level llms.txt](https://documentation.ubuntu.com/juju/4.0/llms.txt): Complete documentation index.