# Julia

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

> libtmux for Julia, version latest.

![](https://libtmux.org/en/brand/julia/library/logo.svg)

Drive a real tmux from Julia.

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

### Library `LibTmux`

```julia
using Pkg
Pkg.activate(".")
Pkg.add(PackageSpec(
    url="https://github.com/libtmux/libtmux-julia.git",
    rev="v0.1.0-alpha.1",
))
```

Run in Julia with tmux on PATH. This alpha release is installed from Git; it is not registered in General.

### [Workspace Manager](https://libtmux.org/en/julia/latest/workspace/) `LibTmuxWorkspace`

The workspace package is separate from the core library.

```julia
using Pkg
Pkg.activate(".")
repo = "https://github.com/libtmux/libtmux-julia.git"
tag = "v0.1.0-alpha.1"
Pkg.add([
    PackageSpec(url=repo, rev=tag),
    PackageSpec(url=repo, rev=tag, subdir="packages/LibTmuxWorkspace"),
])
```

Run in Julia. The core and workspace packages must use the same source release; neither is registered in General.

### [MCP](https://libtmux.org/en/julia/latest/mcp/) `LibTmuxMCP`

Choose your client and configuration scope, then run the command or paste the configuration.

With [Julia Pkg (Git) ](https://github.com/libtmux/libtmux-julia)installed:

```console
$ claude mcp add tmux -- /absolute/path/to/project/bin/libtmux-mcp --socket /absolute/path/to/tmux.sock
```

Run the setup in a consumer project directory. Replace the launcher and socket paths with absolute paths on your machine. The server borrows an existing tmux daemon. Configure tool permissions as described in the MCP server guide.

Config file: `~/.claude.json (this project)`

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

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

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

[Task guides for Julia.](https://libtmux.org/en/julia/latest/guides/)

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

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

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

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

## Packages and integrations

### [MCP](https://libtmux.org/en/julia/latest/mcp/)

[Configure the LibTmuxMCP stdio server and its tool permissions.](https://libtmux.org/en/julia/latest/mcp/)

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

[Read, validate, plan and load workspace files with LibTmuxWorkspace.](https://libtmux.org/en/julia/latest/workspace/)

## API references

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

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

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