CLI Manual Setup
Manual installation and PATH configuration for Bobcorn CLI.
Manual Setup
If you prefer not to use the Settings panel, you can set up the CLI manually.
Option A: Self-install from the CLI binary
Locate the CLI binary inside the Bobcorn application bundle and run the install command directly:
node /Applications/Bobcorn.app/Contents/Resources/app.asar.unpacked/out/cli/index.cjs install
Windows (PowerShell)
node "$env:LOCALAPPDATA\Programs\Bobcorn\resources\app.asar.unpacked\out\cli\index.cjs" install
This registers the bobcorn command to your PATH automatically.
Option B: Add to PATH manually
Create a wrapper script that invokes the CLI binary with Node.js:
macOS / Linux (~/.local/bin/bobcorn)#!/bin/sh
exec node "/Applications/Bobcorn.app/Contents/Resources/app.asar.unpacked/out/cli/index.cjs" "$@"
Windows (%LOCALAPPDATA%\Bobcorn\cli\bobcorn.cmd)
@echo off
node "%LOCALAPPDATA%\Programs\Bobcorn\resources\app.asar.unpacked\out\cli\index.cjs" %*
Make sure the wrapper directory is in your PATH. On macOS/Linux, add ~/.local/bin to your shell profile. On Windows, add the wrapper directory to your User PATH environment variable.
Tip
Node.js must be installed on your system to run the CLI. If you don't have it, download it from nodejs.org.