2021-06-12 04:57:16 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
title: Downloads
|
|
|
|
permalink: /downloads
|
|
|
|
---
|
|
|
|
|
2021-07-13 16:55:38 +00:00
|
|
|
The latest **stable** release is [**v{{ site.version }}**](https://github.com/tstack/lnav/releases/latest).
|
2021-06-13 01:18:34 +00:00
|
|
|
|
|
|
|
The following options are available for installing **lnav**:
|
2021-06-12 04:57:16 +00:00
|
|
|
|
|
|
|
## Linux
|
|
|
|
|
2021-06-13 05:29:52 +00:00
|
|
|
<!-- markdown-link-check-disable-next-line -->
|
2024-02-27 22:01:46 +00:00
|
|
|
Download a [statically linked 64-bit binary](https://github.com/tstack/lnav/releases/download/v{{site.version}}/lnav-{{site.version}}-linux-musl-x86_64.zip).
|
2021-06-13 01:18:34 +00:00
|
|
|
|
2021-06-12 04:57:16 +00:00
|
|
|
Install from the [Snap Store](https://snapcraft.io/lnav):
|
|
|
|
|
2022-08-22 05:02:46 +00:00
|
|
|
```console
|
|
|
|
$ sudo snap install lnav
|
2021-06-12 04:57:16 +00:00
|
|
|
```
|
|
|
|
|
2023-07-01 14:19:32 +00:00
|
|
|
Install RPMs from [Package Cloud](https://packagecloud.io/tstack/lnav):
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ curl -s https://packagecloud.io/install/repositories/tstack/lnav/script.rpm.sh | sudo bash
|
|
|
|
$ sudo yum install lnav
|
|
|
|
```
|
|
|
|
|
2021-06-12 04:57:16 +00:00
|
|
|
## MacOS
|
|
|
|
|
2021-06-14 23:20:38 +00:00
|
|
|
<!-- markdown-link-check-disable-next-line -->
|
2022-10-11 20:07:39 +00:00
|
|
|
Download a [statically linked 64-bit binary](https://github.com/tstack/lnav/releases/download/v{{site.version}}/lnav-{{site.version}}-x86_64-macos.zip)
|
2021-06-14 23:20:38 +00:00
|
|
|
|
2021-06-12 04:57:16 +00:00
|
|
|
Install using [Homebrew](https://formulae.brew.sh/formula/lnav):
|
|
|
|
|
2022-08-22 05:02:46 +00:00
|
|
|
```console
|
|
|
|
$ brew install lnav
|
2021-06-12 04:57:16 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Source
|
|
|
|
|
2021-06-13 05:29:52 +00:00
|
|
|
<!-- markdown-link-check-disable-next-line -->
|
2021-06-13 01:18:34 +00:00
|
|
|
Download the [source](https://github.com/tstack/lnav/releases/download/v{{site.version}}/lnav-{{site.version}}.tar.gz)
|
|
|
|
and install any dependencies. The following commands will unpack the source
|
|
|
|
tar ball, configure the build for your system, build, and then install:
|
|
|
|
|
2022-08-22 05:02:46 +00:00
|
|
|
```console
|
|
|
|
$ tar xvfz lnav-{{site.version}}.tar.gz
|
|
|
|
$ cd lnav-{{site.version}}
|
|
|
|
$ ./configure
|
|
|
|
$ make
|
|
|
|
$ make install
|
2021-06-12 04:57:16 +00:00
|
|
|
```
|
2021-06-13 01:18:34 +00:00
|
|
|
|
2021-07-13 16:55:38 +00:00
|
|
|
### GitHub
|
|
|
|
|
2021-06-13 01:18:34 +00:00
|
|
|
If you would like to contribute to the development of lnav, visit our page on
|
|
|
|
[GitHub](https://github.com/tstack/lnav).
|
2022-09-25 20:52:03 +00:00
|
|
|
|
|
|
|
# VSCode Extension
|
|
|
|
|
|
|
|
The [lnav VSCode Extension](https://marketplace.visualstudio.com/items?itemName=lnav.lnav)
|
|
|
|
can be used to add syntax highlighting to lnav scripts.
|
|
|
|
|
|
|
|
![Screenshot of an lnav script](/assets/images/lnav-vscode-extension.png)
|