Skip to Content
CLI (lol)Installation

Installing the lol CLI

The lol CLI ships bundled with the localWiki desktop app. When you install localWiki, the binary is placed in a platform-specific location.

Binary Locations

PlatformPath
macOS/Applications/localWiki.app/Contents/Resources/bin/lol
Linux/opt/localwiki/bin/lol
WindowsC:\Program Files\localWiki\bin\lol.exe

Add to PATH

The localWiki installer offers to add the binary to your PATH automatically. If you skipped that step or your shell cannot find lol, add it manually:

macOS / Linux (bash/zsh):

$ echo 'export PATH="/Applications/localWiki.app/Contents/Resources/bin:$PATH"' >> ~/.zshrc $ source ~/.zshrc

Windows (PowerShell):

[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\localWiki\bin", "User")

After updating your PATH, restart your terminal.

Verify Installation

$ lol --version lol 0.4.2

A standalone binary (installable via brew, apt, and scoop without the desktop app) is on the roadmap. For now, the desktop app must be installed for the CLI to work.

Connecting to Your Workspace

The CLI communicates with the localWiki desktop app over a local IPC socket. Make sure the desktop app is running before using CLI commands.

Test the connection with:

$ lol ping

If the app is running, you will see the version number. If not:

$ lol ping error: ... hint: is localWiki running?

For a full diagnostic:

$ lol doctor
Last updated on