@neilurk12/pi-lazygit

Open lazygit in popup terminal via /lazygit or Ctrl+Shift+G

Packages

Package details

extension

Install @neilurk12/pi-lazygit from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@neilurk12/pi-lazygit
Package
@neilurk12/pi-lazygit
Version
0.1.1
Published
May 18, 2026
Downloads
not available
Author
neilurk12
License
MIT
Types
extension
Size
2.5 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-lazygit

Lightweight Pi extension that opens lazygit in a popup terminal.

Install

pi install npm:@neilurk12/pi-lazygit

Or add to your pi config manually:

{
  "extensions": ["@neilurk12/pi-lazygit"]
}

Usage

Method Action
/lazygit Command palette
Ctrl+Shift+G Keyboard shortcut

Opens lazygit fullscreen in the current repo. Returns to pi when you quit (q).

Requirements

  • lazygit installed and on PATH
  • Pi running in TUI mode

How it works

Stops the TUI, spawns lazygit with inherited stdio (fullscreen takeover), then restarts the TUI on exit. Uses async spawn so the TUI event loop stays unblocked.