Skip to main content

Update

Keep the HiAUDIT Agent up to date with the built-in self-update command.

The HiAUDIT Agent has a built-in self-update command that downloads the latest binary for your platform and replaces the installed one. Your license and API key are preserved.

Update command

Run the following from any terminal:

hiauditagent update

Watch: update the agent

This short walkthrough shows the hiauditagent update command running end to end in a terminal.

What the update does

The hiauditagent update command will:

  1. Detect your operating system and CPU architecture.
  2. Download the latest release for your platform.
  3. Replace the installed binary without touching your license.
  4. Refresh supporting files (skills, MCP config) in ~/.hiauditagent.
  5. Verify and print the new version.

Verify the new version

hiauditagent --version

If the version number does not change, restart your terminal and run the command again.

Permission errors

If the update fails to replace the binary, you may need elevated permissions because the binary lives in a system directory (such as /usr/local/bin):

sudo hiauditagent update

After updating

The updater also refreshes the bundled skill playbooks and MCP configuration. If you have HiAUDIT connected to an editor, restart your editor so it picks up any changes. See Connect to your IDE if you need to re-register the MCP server.