mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
docs: install options
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
64ca73637a
commit
cb77d654a0
@ -7,7 +7,7 @@ Here are the steps for each of them:
|
||||
|
||||
## Install the pre-compiled binary
|
||||
|
||||
**homebrew tap** (only on macOS for now):
|
||||
**homebrew tap**:
|
||||
|
||||
```sh
|
||||
brew install goreleaser/tap/goreleaser
|
||||
@ -32,17 +32,22 @@ scoop bucket add goreleaser https://github.com/goreleaser/scoop-bucket.git
|
||||
scoop install goreleaser
|
||||
```
|
||||
|
||||
**deb/rpm**:
|
||||
**deb/rpm/apk**:
|
||||
|
||||
Download the `.deb` or `.rpm` from the [releases page][releases] and
|
||||
install with `dpkg -i` and `rpm -i` respectively.
|
||||
Download the `.deb`, `.rpm` or `.apk` from the [releases page][releases] and install them with the appropriate tools.
|
||||
|
||||
**Shell script**:
|
||||
**shell script**:
|
||||
|
||||
```sh
|
||||
curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
|
||||
```
|
||||
|
||||
**go install**:
|
||||
|
||||
```sh
|
||||
go install github.com/goreleaser/goreleaser
|
||||
```
|
||||
|
||||
**manually**:
|
||||
|
||||
Download the pre-compiled binaries from the [releases page][releases] and
|
||||
@ -90,26 +95,26 @@ steps on our [contributing guide](/contributing).
|
||||
|
||||
If you just want to build from source for whatever reason, follow these steps:
|
||||
|
||||
**Clone:**
|
||||
**clone:**
|
||||
|
||||
```sh
|
||||
git clone https://github.com/goreleaser/goreleaser
|
||||
cd goreleaser
|
||||
```
|
||||
|
||||
**Get the dependencies:**
|
||||
**get the dependencies:**
|
||||
|
||||
```sh
|
||||
go get ./...
|
||||
go mod tidy
|
||||
```
|
||||
|
||||
**Build:**
|
||||
**build:**
|
||||
|
||||
```sh
|
||||
go build -o goreleaser .
|
||||
```
|
||||
|
||||
**Verify it works:**
|
||||
**verify it works:**
|
||||
|
||||
```sh
|
||||
./goreleaser --version
|
||||
|
Loading…
x
Reference in New Issue
Block a user