Skip to content

Commit adb2a28

Browse files
author
Vic Shóstak
authored
Update README.md
1 parent b744f63 commit adb2a28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ First of all, [download](https://golang.org/dl/) and install **Go**. Version `1.
1313
Next, download the **latest** version of the Create Go App CLI to your system:
1414

1515
```bash
16-
go get github.com/create-go-app/cli
16+
go get -u github.com/create-go-app/cli
1717
```
1818

19-
Installation is done by using the [`go build`](https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies) command with `$GOPATH/bin`:
19+
Installation is done by using the [`go install`](https://golang.org/cmd/go/#hdr-Compile_and_install_packages_and_dependencies) command with `$GOPATH/bin`:
2020

2121
```bash
22-
go build -ldflags="-s -w" -o $GOPATH/bin/cgapp github.com/create-go-app/cli
22+
go install -ldflags="-s -w" github.com/create-go-app/cli@latest && mv $GOPATH/bin/cli $GOPATH/bin/cgapp
2323
```
2424

2525
Let's create a new project via **interactive console UI** (or **CUI** for short) into current folder:

0 commit comments

Comments
 (0)