The DevLog CLI is automatically installed when you first launch the Electrobun app!
If automatic installation didn't work, or you need to reinstall, follow the manual instructions below.
-
Install the DevLog app (drag to Applications folder)
-
Run the installation script:
chmod +x scripts/install-cli.sh ./scripts/install-cli.sh
Or manually create a wrapper script:
mkdir -p ~/.local/bin cat > ~/.local/bin/devlog << 'EOF' #!/bin/bash exec bun "/Applications/DevLog.app/Contents/Resources/cli/cli.js" "$@" EOF chmod +x ~/.local/bin/devlog
Make sure
~/.local/binis on your PATH. -
Verify installation:
devlog help
-
Install the DevLog app
-
Run PowerShell as Administrator:
.\scripts\install-cli.ps1Or manually:
-
Create a directory (e.g.
%LOCALAPPDATA%\devlog) -
Create
devlog.batinside it:@echo off bun "%APPDATA%\devlog\cli.js" %*
-
Add that directory to your PATH
-
-
Restart your terminal and verify:
devlog help
-
Install the DevLog app
-
Create a wrapper script:
mkdir -p ~/.local/bin cat > ~/.local/bin/devlog << 'EOF' #!/bin/bash exec bun "$HOME/.config/devlog/cli.js" "$@" EOF chmod +x ~/.local/bin/devlog
Make sure
~/.local/binis on your PATH. -
Verify installation:
devlog help
If you're developing and want to use the CLI without installing:
# Using bun scripts
bun run ci
bun run co
# Or directly
bun src/cli.ts ci
bun src/cli.ts co- The CLI uses the same SQLite database as the Electrobun app
- You can switch between CLI and GUI seamlessly
- The CLI requires Bun to be installed on your system