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
|
## Install the pre-compiled binary
|
||||||
|
|
||||||
**homebrew tap** (only on macOS for now):
|
**homebrew tap**:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
brew install goreleaser/tap/goreleaser
|
brew install goreleaser/tap/goreleaser
|
||||||
@ -32,17 +32,22 @@ scoop bucket add goreleaser https://github.com/goreleaser/scoop-bucket.git
|
|||||||
scoop install goreleaser
|
scoop install goreleaser
|
||||||
```
|
```
|
||||||
|
|
||||||
**deb/rpm**:
|
**deb/rpm/apk**:
|
||||||
|
|
||||||
Download the `.deb` or `.rpm` from the [releases page][releases] and
|
Download the `.deb`, `.rpm` or `.apk` from the [releases page][releases] and install them with the appropriate tools.
|
||||||
install with `dpkg -i` and `rpm -i` respectively.
|
|
||||||
|
|
||||||
**Shell script**:
|
**shell script**:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
|
curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**go install**:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
go install github.com/goreleaser/goreleaser
|
||||||
|
```
|
||||||
|
|
||||||
**manually**:
|
**manually**:
|
||||||
|
|
||||||
Download the pre-compiled binaries from the [releases page][releases] and
|
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:
|
If you just want to build from source for whatever reason, follow these steps:
|
||||||
|
|
||||||
**Clone:**
|
**clone:**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/goreleaser/goreleaser
|
git clone https://github.com/goreleaser/goreleaser
|
||||||
cd goreleaser
|
cd goreleaser
|
||||||
```
|
```
|
||||||
|
|
||||||
**Get the dependencies:**
|
**get the dependencies:**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go get ./...
|
go mod tidy
|
||||||
```
|
```
|
||||||
|
|
||||||
**Build:**
|
**build:**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go build -o goreleaser .
|
go build -o goreleaser .
|
||||||
```
|
```
|
||||||
|
|
||||||
**Verify it works:**
|
**verify it works:**
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./goreleaser --version
|
./goreleaser --version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user