Skip to content

Commit 41a22b8

Browse files
committed
Add instructions for installing ld-find-code-refs on ubuntu.
1 parent 8b846fe commit 41a22b8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,24 @@ brew install ld-find-code-refs
3232

3333
You can now run `ld-find-code-refs`.
3434

35+
#### Linux
36+
We do not yet have repositories set up for our linux packages, but we do upload deb and rpm packages with our github releases.
37+
38+
##### Ubuntu
39+
This shell script can be used to download and install `ag` and `ld-find-code-refs` on Ubuntu.
40+
41+
```shell
42+
apt-get install silversearcher-ag
43+
44+
wget -qO- https://api.github.com/repos/launchdarkly/ld-find-code-refs/releases/latest \
45+
| grep "browser_download_url" \
46+
| grep "amd64.deb" \
47+
| cut -d'"' -f4 \
48+
| wget -qi - -O ld-find-code-refs.amd64.deb
49+
50+
dpkg -i ld-find-code-refs.amd64.deb
51+
```
52+
3553
#### Manual
3654

3755
Precompiled binaries for the latest release can be found [here](https://github.com/launchdarkly/ld-find-code-refs/releases/latest).

0 commit comments

Comments
 (0)