Skip to content

Commit

Permalink
Document installing from Snap store on Linux. Closes #161 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Envek committed May 31, 2021
1 parent 6b4f4ef commit d3d1386
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion docs/full_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ NOTE: if you install it this way you should call it with `npx` or `yarn` for all
gem install lefthook
```

### Homebrew for macOS
### Homebrew for MacOS and Linux

```bash
brew install lefthook
Expand All @@ -42,6 +42,14 @@ brew install lefthook

You can install lefthook [package](https://aur.archlinux.org/packages/lefthook) from AUR

### Snap for Linux

```sh
snap install --classic lefthook
```

### Anything else

Or take it from [binaries](https://github.com/evilmartians/lefthook/releases) and install manually

## Scenarios
Expand Down
10 changes: 9 additions & 1 deletion docs/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,24 @@ Add Lefthook to your system or build it from source.
go get github.com/evilmartians/lefthook
```

### Homebrew for macOS
### Homebrew for MacOS and Linux

```bash
brew install lefthook
```

### Snap for Linux

```sh
snap install --classic lefthook
```

### AUR for Arch

You can install lefthook [package](https://aur.archlinux.org/packages/lefthook) from AUR

### Anything else

Or take it from [binaries](https://github.com/evilmartians/lefthook/releases) and install manually

### pip for Python
Expand Down

0 comments on commit d3d1386

Please sign in to comment.