Installing CUE
Official CUE Releases#
Install CUE by downloading the latest release from the official release page.
Homebrew#
Homebrew is a package manager that's available for MacOS, as well as Linux and Windows Subsystem for Linux (WSL) 2. Install the latest CUE release using Homebrew:
Using a terminal where Homebrew is available, run this command:
Check that the cue command is now available:
Using a terminal where Homebrew is available, run this command:
Check that the cue command is now available:
Other CUE versions#
Info
Use the latest release of CUE for stability. Pre-release and development builds are less stable, but help test upcoming features and fixes.
Pre-release versions#
Pre-release versions of CUE can be downloaded from the official release page. They are marked with a yellow "Pre-release" label.
The latest pre-release can also be installed through Homebrew.
Use the brew command detailed above with the cue-lang/tap/cue-prerelease
package.
Development builds#
If you have Go installed then you can build CUE from source and run the latest commit. See the developer instructions on cuelang.org.