mirror of
https://github.com/j178/prek.git
synced 2026-04-09 01:52:24 +02:00
Split the instructions to install via terminal (#670)
This commit is contained in:
committed by
GitHub
parent
c9d4610bc7
commit
4606abccc0
@@ -94,10 +94,12 @@ prek is pretty new, but it is already being used or recommend by some projects a
|
||||
|
||||
prek provides a standalone installer script to download and install the tool:
|
||||
|
||||
```console
|
||||
```bash
|
||||
# On Linux and macOS
|
||||
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.0-alpha.2/prek-installer.sh | sh
|
||||
```
|
||||
|
||||
```powershell
|
||||
# On Windows
|
||||
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.0-alpha.2/prek-installer.ps1 | iex"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user