Skip to main content

Module install_pi

Module install_pi 

Source
Expand description

Pi package installer (rpi install-pi).

Pi packages are ordinary npm/git/local directories. The installer keeps the package under the rpi-owned .rpi/packages (or global agent store), installs production dependencies, and enables the resolved directory in settings so static resources and JS/TS extensions are loaded on startup.

Functions§

print_help
run
uninstall
Remove a Pi package installed by rpi install-pi and disable its settings entry. Source directories outside rpi/pi package stores are never deleted.
update_npm_package
Refresh an installed npm package in-place. The package root is expected to be the safe-name directory created by install-pi; replacing that directory preserves the settings entry while updating its contents.