github.com/solo-io/cue@v0.4.7/doc/install.md (about) 1 # Getting Started 2 3 Currently CUE can only be installed from source. 4 5 ## Install CUE from source 6 7 ### Prerequisites 8 9 Go 1.14 or higher (see below) 10 11 ### Installing CUE 12 13 <!-- Keep the following in sync with cmd/cue/cmd/testdata/script/install*.txt --> 14 15 To download and install the `cue` command line tool run 16 17 ``` 18 GO111MODULE=on go get cuelang.org/go/cmd/cue 19 ``` 20 21 Or, if you are using Go 1.16: 22 23 ``` 24 go install cuelang.org/go/cmd/cue@latest 25 ``` 26 27 And make sure the install directory is in your path. 28 29 To also download the API and documentation, run 30 31 ``` 32 go get cuelang.org/go/cue@latest 33 ``` 34 35 in a module context. 36 37 38 ### Installing Go 39 40 #### Download Go 41 42 You can install binaries for Windows, MacOS X, and Linux at https://golang.org/dl/. If you use a different OS you can 43 [install Go from source](https://golang.org/doc/install/source). 44 45 #### Install Go 46 47 Follow the instructions at https://golang.org/doc/install#install. 48 Make sure the `go` binary is in your path. 49 CUE uses Go modules, so there is no need to set up a GOPATH.