You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,20 @@
10
10
11
11
First of all, [download](https://golang.org/dl/) and install **Go**. Version `1.16` or higher is required.
12
12
13
-
Next, download the **latest** version of the Create Go App CLI to your system:
13
+
Installation is done by using the [`go install`](https://golang.org/cmd/go/#hdr-Compile_and_install_packages_and_dependencies) command and rename installed binary in `$GOPATH/bin`:
14
14
15
15
```bash
16
-
go get -u github.com/create-go-app/cli
16
+
go install -ldflags="-s -w"github.com/create-go-app/cli&& mv $GOPATH/bin/cli $GOPATH/bin/cgapp
17
17
```
18
18
19
-
Installation is done by using the [`go install`](https://golang.org/cmd/go/#hdr-Compile_and_install_packages_and_dependencies) command and rename installed binary in `$GOPATH/bin`:
19
+
Also, macOS and GNU/Linux users available way to install via [Homebrew](https://brew.sh/):
20
20
21
21
```bash
22
-
go install -ldflags="-s -w" github.com/create-go-app/cli && mv $GOPATH/bin/cli $GOPATH/bin/cgapp
22
+
# Tap a new formula:
23
+
brew tap create-go-app/cli
24
+
25
+
# Installation:
26
+
brew install create-go-app/cli/cgapp
23
27
```
24
28
25
29
Let's create a new project via **interactive console UI** (or **CUI** for short) into current folder:
@@ -291,7 +295,6 @@ project:
291
295
You can do it by using a version suffix in `go install` command:
0 commit comments