mirror of
https://github.com/j178/prek.git
synced 2026-04-25 02:11:36 +02:00
Add scoop to installation (#1067)
This commit is contained in:
@@ -175,14 +175,16 @@ prek --version
|
||||
<summary>Nix</summary>
|
||||
|
||||
<!-- nix-install:start -->
|
||||
prek is [available in Nix as `prek`](https://search.nixos.org/packages?channel=unstable&show=prek&query=prek).
|
||||
prek is available via [Nixpkgs](https://search.nixos.org/packages?channel=unstable&show=prek&query=prek).
|
||||
|
||||
```shell
|
||||
# Choose what's appropriate for your use case.
|
||||
# One-off in a shell:
|
||||
nix-shell -p prek
|
||||
|
||||
# NixOS or non-NixOS without flakes:
|
||||
nix-env -iA nixos.prek
|
||||
|
||||
# Non-NixOS with flakes:
|
||||
nix profile install nixpkgs#prek
|
||||
```
|
||||
@@ -194,7 +196,7 @@ nix profile install nixpkgs#prek
|
||||
<summary>Conda</summary>
|
||||
|
||||
<!-- conda-forge-install:start -->
|
||||
prek is [available as `prek` via conda-forge](https://anaconda.org/conda-forge/prek).
|
||||
prek is available as `prek` via [conda-forge](https://anaconda.org/conda-forge/prek).
|
||||
|
||||
```shell
|
||||
conda install conda-forge::prek
|
||||
@@ -203,6 +205,18 @@ conda install conda-forge::prek
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Scoop (Windows)</summary>
|
||||
|
||||
<!-- scoop-install:start -->
|
||||
prek is available via [Scoop](https://scoop.sh/#/apps?q=prek).
|
||||
|
||||
```powershell
|
||||
scoop install main/prek
|
||||
```
|
||||
<!-- scoop-install:end -->
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>GitHub Releases</summary>
|
||||
|
||||
|
||||
@@ -72,6 +72,14 @@ The standalone installer automatically downloads and installs the correct binary
|
||||
end="<!-- conda-forge-install:end -->"
|
||||
%}
|
||||
|
||||
### Scoop (Windows)
|
||||
|
||||
{%
|
||||
include-markdown "../README.md"
|
||||
start="<!-- scoop-install:start -->"
|
||||
end="<!-- scoop-install:end -->"
|
||||
%}
|
||||
|
||||
### Install from Pre-Built Binaries
|
||||
|
||||
{%
|
||||
|
||||
Reference in New Issue
Block a user