pi-ext-exit
pi extension: /exit — exit pi, like Ctrl+C
Package details
Install pi-ext-exit from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-ext-exit- Package
pi-ext-exit- Version
1.0.1- Published
- Sep 4, 2026
- Downloads
- 301/mo · 16/wk
- Author
- lu-zhengda
- License
- MIT
- Types
- extension
- Size
- 1.3 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
/exit — pi extension
Exit pi with one command, just like Ctrl+C.
Install
pi install npm:pi-ext-exit
(or restart pi, or run /reload, after installing)
Usage
In pi's TUI, type:
/exit
It uses the same graceful shutdown path as the built-in /quit: pending work settles, then session_shutdown fires and pi exits.