2018-09-22 23:44:24 +02:00
|
|
|
# Installation
|
|
|
|
|
2018-10-07 23:34:03 +02:00
|
|
|
## Binary
|
2018-09-22 23:44:24 +02:00
|
|
|
|
2018-10-07 23:34:03 +02:00
|
|
|
Or you can download the binary from the [releases][releases] page and add to
|
|
|
|
your $PATH. DEB and RPM packages are also available.
|
|
|
|
The `task_checksums.txt` file contains the sha256 checksum for each file.
|
2018-09-22 23:44:24 +02:00
|
|
|
|
|
|
|
## Homebrew
|
|
|
|
|
|
|
|
If you're on macOS and have [Homebrew][homebrew] installed, getting Task is
|
|
|
|
as simple as running:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
brew install go-task/tap/go-task
|
|
|
|
```
|
|
|
|
|
|
|
|
## Snap
|
|
|
|
|
|
|
|
Task is available for [Snapcraft][snapcraft], but keep in mind that your
|
|
|
|
Linux distribution should allow classic confinement for Snaps to Task work
|
|
|
|
right:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo snap install task
|
|
|
|
```
|
|
|
|
|
2018-10-07 23:34:03 +02:00
|
|
|
## Go
|
|
|
|
|
|
|
|
If you have a [Go][go] environment setup, you can simply run:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
go get -u -v github.com/go-task/task/cmd/task
|
|
|
|
```
|
|
|
|
|
2018-09-22 23:44:24 +02:00
|
|
|
## Install script
|
|
|
|
|
|
|
|
We also have a [install script][installscript], which is very useful on
|
2018-10-07 23:34:03 +02:00
|
|
|
scanarios like CIs. Many thanks to [godownloader][godownloader] for allowing
|
|
|
|
easily generating this script.
|
2018-09-22 23:44:24 +02:00
|
|
|
|
|
|
|
```bash
|
2018-09-25 02:34:10 +02:00
|
|
|
curl -s https://taskfile.org/install.sh | sh
|
2018-09-22 23:44:24 +02:00
|
|
|
```
|
|
|
|
|
2018-10-07 23:34:03 +02:00
|
|
|
> This method will download the binary on the local `./bin` directory by default.
|
2018-09-22 23:44:24 +02:00
|
|
|
|
2018-10-07 23:34:03 +02:00
|
|
|
[go]: https://golang.org/
|
2018-09-22 23:44:24 +02:00
|
|
|
[snapcraft]: https://snapcraft.io/
|
|
|
|
[homebrew]: https://brew.sh/
|
|
|
|
[installscript]: https://github.com/go-task/task/blob/master/install-task.sh
|
|
|
|
[releases]: https://github.com/go-task/task/releases
|
|
|
|
[godownloader]: https://github.com/goreleaser/godownloader
|