Core LibraryunreleasedGuides

Choose documentation 3

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

Installation

Needs libtmux for Julia unreleased Install

The packages are unregistered. Install the v0.1.1 tag in the Julia project that will use them; Manifest.toml records the revision. The MCP and workspace companions are experimental.

Core

From the consumer project directory:

Terminal window
$ julia \
--startup-file=no \
-e 'using Pkg
Pkg.activate(".")
repo = "https://github.com/libtmux/libtmux-julia.git"
revision = "v0.1.1"
Pkg.add(Pkg.PackageSpec(url=repo, rev=revision))'

Have tmux on PATH. It needs Julia 1.13.1 or newer and tmux 3.3a or newer. An older or unreadable tmux is refused before any effect; Compatibility lists what needs a newer one.

MCP application

Add the core and MCP adapter together. Both specifications name the same revision:

Terminal window
$ julia \
--startup-file=no \
-e 'using Pkg
Pkg.activate(".")
repo = "https://github.com/libtmux/libtmux-julia.git"
revision = "v0.1.1"
Pkg.add([
Pkg.PackageSpec(url=repo, rev=revision),
Pkg.PackageSpec(
url=repo, rev=revision, subdir="packages/LibTmuxMCP",
),
])'

Install the local launcher after resolution:

Terminal window
$ julia \
--startup-file=no \
--project=. \
-e 'using LibTmuxMCP; println(install_cli("bin"))'
Terminal window
$ bin/libtmux-mcp --help

Connect an MCP client explains targets, policy and how the launcher chooses a tmux server.

Workspace loader

Add the core and workspace adapter together:

Terminal window
$ julia \
--startup-file=no \
-e 'using Pkg
Pkg.activate(".")
repo = "https://github.com/libtmux/libtmux-julia.git"
revision = "v0.1.1"
Pkg.add([
Pkg.PackageSpec(url=repo, rev=revision),
Pkg.PackageSpec(
url=repo, rev=revision, subdir="packages/LibTmuxWorkspace",
),
])'

Install the local launcher after resolution:

Terminal window
$ julia \
--startup-file=no \
--project=. \
-e 'using LibTmuxWorkspace; println(install_cli("bin"))'
Terminal window
$ bin/libtmux-workspace --help

Load a workspace describes validation, planning, loading and freezing.

The packages are not in the General registry.

Esc
Search in

Type to search.

Reference previewOpen reference