Upgrading

Upgrading Haloy CLI

Shell Script

To upgrade the Haloy CLI from the previous version:

curl -fsSL https://sh.haloy.dev/install-haloy.sh | sh

The installation script will upgrade your existing installation to the latest version.

Homebrew

If you installed Haloy via Homebrew:

brew upgrade haloy

Javascript Package Managers

If you installed Haloy as a global package:

npm install -g haloy@latest
pnpm add -g haloy@latest
bun add -g haloy@latest

If you installed Haloy as a project dev dependency:

npm install --save-dev haloy@latest
pnpm add -D haloy@latest
bun add -D haloy@latest

Verify Upgrade

Check that the upgrade was successful:

haloy version

Upgrading Server Components

To upgrade haloyadm and haloyd on your server, use the upgrade script:

curl -fsSL https://sh.haloy.dev/upgrade-server.sh | sudo sh

This script will upgrade both components to the latest version while preserving your configuration and data.