-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bf52f8
commit 7376f4b
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Installation | ||
|
||
## Stable version | ||
## Stable version from remote | ||
|
||
The **stable version (main branch)** of `htb-cli` only requires `golang version 20` to be installed (<a href="https://go.dev/doc/install" target="_blank">https://go.dev/doc/install</a>). | ||
|
||
|
@@ -22,6 +22,29 @@ export GOPATH=$HOME/go | |
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin | ||
``` | ||
|
||
## Stable version from sources | ||
|
||
```bash | ||
git clone [email protected]:GoToolSharing/htb-cli.git | ||
Cloning into 'htb-cli'... | ||
remote: Enumerating objects: 1756, done. | ||
remote: Counting objects: 100% (224/224), done. | ||
remote: Compressing objects: 100% (131/131), done. | ||
remote: Total 1756 (delta 106), reused 142 (delta 77), pack-reused 1532 | ||
Receiving objects: 100% (1756/1756), 4.21 MiB | 3.27 MiB/s, done. | ||
Resolving deltas: 100% (1083/1083), done. | ||
``` | ||
|
||
```bash | ||
cd htb-cli | ||
go install . | ||
``` | ||
|
||
```bash | ||
htb-cli version | ||
Stable version (main branch): v1.5.1 | ||
``` | ||
|
||
## Development version | ||
|
||
The **development version (dev branch)** can be installed using the following command: | ||
|