Skip to main content

Launch

The launcher searches for the desktop binary in the following order: On Linux, the launcher applies environment flags for X11/Wayland compatibility and passes all arguments through to the app. If the binary is not found:

GitHub Commands

All GitHub auth commands use local-only flows. No hosted callback server is required. See GitHub Authentication for detailed flow documentation.

Post-Install Behavior

When you run npm install -g openlinear, the postinstall script runs automatically:
1

Platform detection

Identifies macOS (Apple Silicon / Intel) or Linux x64.
2

Binary download

Downloads the latest desktop release from GitHub Releases.
3

Installation

  • macOS: Places OpenLinear.app in ~/Applications/
  • Linux: Places the AppImage in ~/.openlinear/ and registers a .desktop entry at ~/.local/share/applications/openlinear.desktop

Library API

The openlinear package also exports TypeScript utilities for programmatic use: See Library Overview for full API documentation.