Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 765 Bytes

File metadata and controls

44 lines (30 loc) · 765 Bytes

Installation from source

  1. Verify that you have Go 1.26+ installed

    $ go version

    If go is not installed, follow instructions on the Go website.

  2. Clone this repository

    $ git clone https://github.com/qubernetic/copia-cli.git
    $ cd copia-cli
  3. Build and install

    $ make build
    $ sudo cp bin/copia-cli /usr/local/bin/
  4. Verify installation

    $ copia-cli --version

Cross-compilation

The Makefile supports cross-compilation via Go environment variables:

# Linux ARM64
$ GOOS=linux GOARCH=arm64 make build

# macOS ARM64
$ GOOS=darwin GOARCH=arm64 make build

# Windows AMD64
$ GOOS=windows GOARCH=amd64 make build