Installation
OpenSyntax is distributed as the public npm package `opensyntax` and exposes both `opensyntax` and `agent` binaries.
Requirements
- Node.js 20 or newer. Node 22 LTS is recommended.
- npm 10 or newer recommended.
- Git for repository-aware features.
- Windows, macOS, and Linux terminals are supported.
Install globally with npm
npm install -g opensyntaxUpdate globally
npm update -g opensyntaxRun without installing
npx opensyntaxInstall with Bun
bun add -g opensyntaxPlatform notes
Windows
If `opensyntax` is not found, confirm your npm global bin folder is on PATH.
macOS
Use Node 22 LTS from your preferred version manager. Avoid mixing system Node with version-manager npm globals.
Linux
Install Node through your distro or a version manager. Avoid `sudo npm install -g` unless your environment requires it.