Skip to content

Commit 89ca529

Browse files
committed
docs: Add installation instructions for DEB/RPM packages [ci skip]
Also add attribution badges for Cloudsmith which provide hosting for these packages. See #197
1 parent d3d1386 commit 89ca529

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

docs/full_guide.md

+22
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,28 @@ You can install lefthook [package](https://aur.archlinux.org/packages/lefthook)
4848
snap install --classic lefthook
4949
```
5050

51+
### APT packages for Debian/Ubuntu Linux
52+
53+
```sh
54+
curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.deb.sh' | sudo -E bash
55+
sudo apt install lefthook
56+
```
57+
58+
See all instructions: https://cloudsmith.io/~evilmartians/repos/lefthook/setup/#formats-deb
59+
60+
[![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith&style=flat-square)](https://cloudsmith.com "Debian package repository hosting is graciously provided by Cloudsmith")
61+
62+
### RPM packages for CentOS/Fedora Linux
63+
64+
```sh
65+
curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.rpm.sh' | sudo -E bash
66+
sudo yum install lefthook
67+
```
68+
69+
See all instructions: https://cloudsmith.io/~evilmartians/repos/lefthook/setup/#repository-setup-yum
70+
71+
[![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith&style=flat-square)](https://cloudsmith.com "RPM package repository hosting is graciously provided by Cloudsmith")
72+
5173
### Anything else
5274

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

docs/other.md

+22
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,28 @@ brew install lefthook
2424
snap install --classic lefthook
2525
```
2626

27+
### APT packages for Debian/Ubuntu Linux
28+
29+
```sh
30+
curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.deb.sh' | sudo -E bash
31+
sudo apt install lefthook
32+
```
33+
34+
See all instructions: https://cloudsmith.io/~evilmartians/repos/lefthook/setup/#formats-deb
35+
36+
[![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith&style=flat-square)](https://cloudsmith.com "Debian package repository hosting is graciously provided by Cloudsmith")
37+
38+
### RPM packages for CentOS/Fedora Linux
39+
40+
```sh
41+
curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.rpm.sh' | sudo -E bash
42+
sudo yum install lefthook
43+
```
44+
45+
See all instructions: https://cloudsmith.io/~evilmartians/repos/lefthook/setup/#repository-setup-yum
46+
47+
[![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith&style=flat-square)](https://cloudsmith.com "RPM package repository hosting is graciously provided by Cloudsmith")
48+
2749
### AUR for Arch
2850

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

0 commit comments

Comments
 (0)