# Lua

Source: https://libtmux.org/en/lua/latest/

> libtmux for Lua, version latest.

Lua

Drive a real tmux from Lua.

libtmux

You are reading the **latest** documentation. Use the version control in the header to move between releases, or the port dropdown to find a corresponding page in another language.

## Install

```console
$ luarocks --local install libtmux 0.1.0alpha1-1
```

### [Topics](https://libtmux.org/en/lua/latest/topics/)

[Subject-by-subject, with Lua in every code block.](https://libtmux.org/en/lua/latest/topics/)

### [Guides](https://libtmux.org/en/lua/latest/guides/)

[Task guides for Lua.](https://libtmux.org/en/lua/latest/guides/)

### [Examples](https://libtmux.org/en/lua/latest/examples/)

[Complete programs, sourced from the code each port tests.](https://libtmux.org/en/lua/latest/examples/)

### [Concepts](https://libtmux.org/en/lua/latest/concepts/)

[The domain model every port shares.](https://libtmux.org/en/lua/latest/concepts/)

## Packages and integrations

### [luv and Neovim](https://libtmux.org/en/lua/latest/guides/runtime/)

[Use the documented libuv and Neovim runtime integrations.](https://libtmux.org/en/lua/latest/guides/runtime/)

### [MCP (not available)](https://libtmux.org/en/lua/latest/mcp/)

[No published MCP server is available for the Lua port.](https://libtmux.org/en/lua/latest/mcp/)

### [Workspace Manager (not available)](https://libtmux.org/en/lua/latest/workspace/)

[No published workspace manager is available for the Lua port.](https://libtmux.org/en/lua/latest/workspace/)

## API references

### [Official reference](https://libtmux.org/en/lua/latest/reference/)

[Lua API signatures and documentation, with links to related guides and APIs in other languages.](https://libtmux.org/en/lua/latest/reference/)

[All Lua versions and install instructions](https://libtmux.org/en/lua/)
