Skip to content

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 make sure to install the latest release:

TERMINAL
$ cue version
cue version v0.14.1
...

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 latest CUE release using Homebrew:

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

TERMINAL
$ brew install cue-lang/tap/cue

Check that the cue command is now available:

TERMINAL
$ cue version
cue version v0.14.1
...

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

TERMINAL
$ brew install cue-lang/tap/cue

Check that the cue command is now available:

TERMINAL
$ cue version
cue version v0.14.1
...

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

TERMINAL
$ brew install cue-lang/tap/cue

Check that the cue command is now available:

TERMINAL
$ cue version
cue version v0.14.1
...

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