lnav/docs/02_downloads.md

59 lines
1.6 KiB
Markdown
Raw Normal View History

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).
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 -->
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-linux-musl.zip).
2021-06-12 04:57:16 +00:00
Install from the [Snap Store](https://snapcraft.io/lnav):
```console
$ sudo snap install lnav
2021-06-12 04:57:16 +00:00
```
## MacOS
<!-- 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-12 04:57:16 +00:00
Install using [Homebrew](https://formulae.brew.sh/formula/lnav):
```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 -->
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:
```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-07-13 16:55:38 +00:00
### GitHub
If you would like to contribute to the development of lnav, visit our page on
[GitHub](https://github.com/tstack/lnav).
# 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)