Installing CUE

Official CUE Releases

Visit the official CUE release page to find the right release to download, unpack, and install. For the best experience install the most recent pre-release – v0.13.0-alpha.3:

$ cue version
cue version v0.13.0-alpha.3
...

Installing CUE using Homebrew

Homebrew is a package manager that’s available for MacOS, as well as Linux and Windows Subsystem for Linux (WSL) 2. Here’s how to install the most recent CUE pre-release using Homebrew:

Using a terminal where Homebrew is available, run this command:

$ brew install cue-lang/tap/cue-prerelease

Check that the cue command is now available:

$ cue version
cue version v0.13.0-alpha.3
...

Using a terminal where Homebrew is available, run this command:

$ brew install cue-lang/tap/cue-prerelease

Check that the cue command is now available:

$ cue version
cue version v0.13.0-alpha.3
...

Using a WSL terminal where Homebrew is available, run this command:

$ brew install cue-lang/tap/cue-prerelease

Check that the cue command is now available:

$ cue version
cue version v0.13.0-alpha.3
...

The latest version of CUE is also available via Homebrew: simply install cue-lang/tap/cue instead of the package mentioned above – however we currently recommend installing the pre-release package.