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 updateWatch: 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:
- Detect your operating system and CPU architecture.
- Download the latest release for your platform.
- Replace the installed binary without touching your license.
- Refresh supporting files (skills, MCP config) in
~/.hiauditagent. - Verify and print the new version.
Verify the new version
hiauditagent --versionIf 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 updateAfter 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.