@gaosh3n/pi-package-manager

Package Manager for Pi

Packages

Package details

extension

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

$ pi install npm:@gaosh3n/pi-package-manager
Package
@gaosh3n/pi-package-manager
Version
0.1.4
Published
Aug 31, 2026
Downloads
821/mo · 32/wk
Author
gaosh3n
License
MIT
Types
extension
Size
46.9 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

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

README

pi-package-manager

pi-package-manager keeps your Pi packages up-to-date and shows you what happened, right inside Pi.

What you get

  • automatic package update checks when Pi starts
  • a visible progress UI while Pi checks or updates packages
  • /package-manager status to see whether updates are available
  • /package-manager update to run the update flow on demand
  • /package-manager install to install a Pi package from an entered source
  • /package-manager uninstall to remove one or more installed Pi packages from a checkbox-style picker
  • a final result card in Pi so you can review the latest outcome
  • automatic Pi reload after a successful startup update

Install only this extension

pi install npm:@gaosh3n/pi-package-manager

Then restart Pi or run /reload.

How to use it

Let it run on startup

Start Pi normally. If package updates are available, Pi Package Manager checks for them, shows progress in Pi, and reports the result when it finishes.

Check package status

Run:

/package-manager status

You will get a status card in Pi showing whether updates are available and summarizing the latest package update result.

Run a package update

Run:

/package-manager update

Pi will run the update flow for you, show live progress, and record the final result in the transcript.

Install a package

Run:

/package-manager install

Pi will prompt you for a package source such as npm:@foo/bar or git:github.com/user/repo, run the native pi install ... flow, and show a final result card. After a successful install, run /reload to activate the installed package resources.

Uninstall package(s)

Run:

/package-manager uninstall

Pi will show a checkbox-style package picker. Use to toggle package selection, then press Enter to confirm. Pi runs native pi uninstall <source> once per selected package and shows one final result card. After successful or partial removal, run /reload to deactivate removed package resources.