libtmux Reference MCP Search
On this page

server.Server.setEnvironment

View as Markdown

Module
server
Declared in
Server
Package
@libtmux/libtmux
Source
packages/libtmux/src/server.ts
setEnvironment ( name : : string , value : : string , options : : SetEnvironmentOptions ) Promise<void>
method [source]
method [source]
setEnvironment

Set a variable in the server's global environment.

Examples

await server.setEnvironment("EDITOR", "vim");

Discussed in Environment

0 declared, 0 inherited

Esc

Type to search.