CLI Installation
First of all, download and install Go. Version 1.16
or higher is required.
Installation is done by using the go install
1 command and rename installed binary in $GOPATH/bin
:
go install -ldflags="-s -w" github.com/create-go-app/cli@latest
mv $GOPATH/bin/cli $GOPATH/bin/cgapp
Also, macOS and GNU/Linux users available way to install via Homebrew:
# Tap a new formula:
brew tap create-go-app/cli
# Installation:
brew install create-go-app/cli/cgapp
Check, that the CLI is installed correctly by the --version
(or -v
) command:
cgapp --version
# Output: cgapp version 1.x.x
Alternative installations¶
We're using a GoReleaser2 for shipping standalone version to a major desktop platforms:
- GNU/Linux
- Apple macOS (including version for Apple Silicon3 CPU)
- Microsoft Windows
Info
By default, for amd64 (x86_64) and arm64 architectures.
If you need this, go to the repository's Release page and download zipped archive.