In June 2024, we deprecated our old CLI tool (Node based) and released our new CLI tool (Go based). The reasoning was to drastically improve the developer experience for our CLI and for CI integrations.

Migration Steps

1️⃣ Install the new CLI do your build agent:

A) Windows (via Powershell):

iwr -useb <https://raw.githubusercontent.com/hathora/ci/main/install.ps1> | iex

B) MacOS/Linux (via bash/zsh):

curl -s <https://raw.githubusercontent.com/hathora/ci/main/install.sh> | sh

C) Download raw binaries

2️⃣ Update CI build steps with the new command name, hathora (instead of hathora-cloud)

3️⃣ Update your deploy command flags

The naming and syntax for command flags have changed slightly for consistency and portability.

  1. If you were using our old hathora-cloud deploy command, then you will want to update to use hathora deploy
  2. If you were using hathora-cloud build and hathora-cloud deployment previously, then you will want to update to use hathora build create and hathora deployment create