mirror of
https://github.com/go-task/task.git
synced 2025-10-08 23:02:02 +02:00
fix: cloudsmith and add docs (#2383)
This commit is contained in:
@@ -156,19 +156,17 @@ npms:
|
||||
|
||||
cloudsmiths:
|
||||
- organization: "task"
|
||||
repository: "task"
|
||||
repository: "{{if not .IsNightly}}task{{end}}"
|
||||
formats:
|
||||
- deb
|
||||
- rpm
|
||||
- apk
|
||||
distributions:
|
||||
# deb:
|
||||
# - "ubuntu/any-version"
|
||||
# - "debian/any-version"
|
||||
deb:
|
||||
- "any-distro/any-version"
|
||||
rpm:
|
||||
- "el/any-version"
|
||||
- "fedora/any-version"
|
||||
- "any-distro/any-version"
|
||||
alpine:
|
||||
- "alpine/any-version"
|
||||
component: "{{if .IsNightly}}unstable{{else}}main{{end}}"
|
||||
component: main
|
||||
republish: true
|
||||
|
@@ -8,15 +8,38 @@ outline: deep
|
||||
|
||||
Task offers many installation methods. Check out the available methods below.
|
||||
|
||||
::: info
|
||||
## Official Package Managers
|
||||
|
||||
Some of the methods below are marked as
|
||||
. This means
|
||||
they are not maintained by the Task team and may not be up-to-date.
|
||||
These installation methods are maintained by the Task team and are always up-to-date.
|
||||
|
||||
:::
|
||||
### [dnf](https://docs.fedoraproject.org/en-US/quick-docs/dnf)    {#dnf}
|
||||
[[package](https://cloudsmith.io/~task/repos/task/packages/?sort=-format&q=format%3Arpm)]
|
||||
|
||||
## Package Managers
|
||||
If you Set up the repository by running :
|
||||
|
||||
```shell
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.rpm.sh' | sudo -E bash
|
||||
```
|
||||
Then you can install Task with:
|
||||
|
||||
```shell
|
||||
dnf install task
|
||||
```
|
||||
|
||||
### [apt](https://doc.ubuntu-fr.org/apt)    {#apt}
|
||||
|
||||
[[package](https://cloudsmith.io/~task/repos/task/packages/?sort=-format&q=format%3Adeb)]
|
||||
|
||||
If you Set up the repository by running :
|
||||
|
||||
```shell
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | sudo -E bash
|
||||
```
|
||||
Then you can install Task with:
|
||||
|
||||
```shell
|
||||
apt install task
|
||||
```
|
||||
|
||||
### [Homebrew](https://brew.sh)   {#homebrew}
|
||||
|
||||
@@ -36,16 +59,6 @@ by running:
|
||||
brew install go-task
|
||||
```
|
||||
|
||||
### [Macports](https://macports.org)   {#macports}
|
||||
|
||||
Task repository is tracked by Macports
|
||||
[[package](https://ports.macports.org/port/go-task/details/)]
|
||||
[[source](https://github.com/macports/macports-ports/blob/master/devel/go-task/Portfile)]:
|
||||
|
||||
```shell
|
||||
port install go-task
|
||||
```
|
||||
|
||||
### [Snap](https://snapcraft.io/task)   {#snap}
|
||||
|
||||
Task is available on [Snapcraft](https://snapcraft.io/task)
|
||||
@@ -68,16 +81,6 @@ dependency of your project
|
||||
npm install -g @go-task/cli
|
||||
```
|
||||
|
||||
### [pip](https://pip.pypa.io)     {#pip}
|
||||
|
||||
Like npm, pip can be used as a cross-platform way to install Task
|
||||
[[package](https://pypi.org/project/go-task-bin)]
|
||||
[[source](https://github.com/Bing-su/pip-binary-factory/tree/main/task)]:
|
||||
|
||||
```shell
|
||||
pip install go-task-bin
|
||||
```
|
||||
|
||||
### [WinGet](https://github.com/microsoft/winget-cli)  {#winget}
|
||||
|
||||
Task is available via the
|
||||
@@ -88,7 +91,35 @@ Task is available via the
|
||||
winget install Task.Task
|
||||
```
|
||||
|
||||
### [Chocolatey](https://chocolatey.org)   {#chocolatey}
|
||||
## Community-Maintained Package Managers
|
||||
|
||||
::: warning Community Maintained
|
||||
|
||||
These installation methods are maintained by the community and may not always be up-to-date with the latest Task version. The Task team does not directly control these packages.
|
||||
|
||||
:::
|
||||
|
||||
### [Macports](https://macports.org)  {#macports}
|
||||
|
||||
Task repository is tracked by Macports
|
||||
[[package](https://ports.macports.org/port/go-task/details/)]
|
||||
[[source](https://github.com/macports/macports-ports/blob/master/devel/go-task/Portfile)]:
|
||||
|
||||
```shell
|
||||
port install go-task
|
||||
```
|
||||
|
||||
### [pip](https://pip.pypa.io)    {#pip}
|
||||
|
||||
Like npm, pip can be used as a cross-platform way to install Task
|
||||
[[package](https://pypi.org/project/go-task-bin)]
|
||||
[[source](https://github.com/Bing-su/pip-binary-factory/tree/main/task)]:
|
||||
|
||||
```shell
|
||||
pip install go-task-bin
|
||||
```
|
||||
|
||||
### [Chocolatey](https://chocolatey.org)  {#chocolatey}
|
||||
|
||||
[[package](https://community.chocolatey.org/packages/go-task)]
|
||||
[[source](https://github.com/Starz0r/ChocolateyPackagingScripts/blob/master/src/go-task_gh_build.py)]
|
||||
@@ -97,7 +128,7 @@ winget install Task.Task
|
||||
choco install go-task
|
||||
```
|
||||
|
||||
### [Scoop](https://scoop.sh)   {#scoop}
|
||||
### [Scoop](https://scoop.sh)  {#scoop}
|
||||
|
||||
[[source](https://github.com/ScoopInstaller/Main/blob/master/bucket/task.json)]
|
||||
|
||||
@@ -105,7 +136,7 @@ choco install go-task
|
||||
scoop install task
|
||||
```
|
||||
|
||||
### Arch ([pacman](https://wiki.archlinux.org/title/Pacman))   {#arch}
|
||||
### Arch ([pacman](https://wiki.archlinux.org/title/Pacman))  {#arch}
|
||||
|
||||
[[package](https://archlinux.org/packages/extra/x86_64/go-task/)]
|
||||
[[source](https://gitlab.archlinux.org/archlinux/packaging/packages/go-task)]
|
||||
@@ -114,7 +145,7 @@ scoop install task
|
||||
pacman -S go-task
|
||||
```
|
||||
|
||||
### Fedora ([dnf](https://docs.fedoraproject.org/en-US/quick-docs/dnf))   {#fedora}
|
||||
### Fedora ([dnf](https://docs.fedoraproject.org/en-US/quick-docs/dnf))  {#fedora-community}
|
||||
|
||||
[[package](https://packages.fedoraproject.org/pkgs/golang-github-task/go-task/)]
|
||||
[[source](https://src.fedoraproject.org/rpms/golang-github-task)]
|
||||
@@ -123,7 +154,7 @@ pacman -S go-task
|
||||
dnf install go-task
|
||||
```
|
||||
|
||||
### FreeBSD ([Ports](https://ports.freebsd.org/cgi/ports.cgi))   {#freebsd}
|
||||
### FreeBSD ([Ports](https://ports.freebsd.org/cgi/ports.cgi))  {#freebsd}
|
||||
|
||||
[[package](https://cgit.freebsd.org/ports/tree/devel/task)]
|
||||
[[source](https://cgit.freebsd.org/ports/tree/devel/task/Makefile)]
|
||||
@@ -132,7 +163,7 @@ dnf install go-task
|
||||
pkg install task
|
||||
```
|
||||
|
||||
### NixOS ([nix](https://nixos.org))    {#nix}
|
||||
### NixOS ([nix](https://nixos.org))   {#nix}
|
||||
|
||||
[[source](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/go/go-task/package.nix)]
|
||||
|
||||
@@ -140,7 +171,7 @@ pkg install task
|
||||
nix-env -iA nixpkgs.go-task
|
||||
```
|
||||
|
||||
### [pacstall](https://github.com/pacstall/pacstall)    {#pacstall}
|
||||
### [pacstall](https://github.com/pacstall/pacstall)   {#pacstall}
|
||||
|
||||
[[package](https://pacstall.dev/packages/go-task-deb)]
|
||||
[[source](https://github.com/pacstall/pacstall-programs/blob/master/packages/go-task-deb/go-task-deb.pacscript)]
|
||||
@@ -149,7 +180,7 @@ nix-env -iA nixpkgs.go-task
|
||||
pacstall -I go-task-deb
|
||||
```
|
||||
|
||||
### [pkgx](https://pkgx.sh)    {#pkgx}
|
||||
### [pkgx](https://pkgx.sh)   {#pkgx}
|
||||
|
||||
[[package](https://pkgx.dev/pkgs/taskfile.dev)]
|
||||
[[source](https://github.com/pkgxdev/pantry/blob/main/projects/taskfile.dev/package.yml)]
|
||||
@@ -233,7 +264,11 @@ If you want to install Task in GitHub Actions you can try using
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
||||
This installation method is community owned.
|
||||
::: warning Community Maintained
|
||||
|
||||
These installation methods are maintained by the community and may not always be up-to-date with the latest Task version. The Task team does not directly control these packages.
|
||||
|
||||
:::
|
||||
|
||||
## Build From Source
|
||||
|
||||
|
Reference in New Issue
Block a user