Documentation
¶
Overview ¶
Package terminalinstall owns the external package-manager capability used to make the GitContribute CLI and TUI persistently available.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalNPM ¶
GlobalNPM installs packageSpec into npm's global prefix and returns the verified command path. The caller must obtain explicit user authorization before calling it: this function executes npm and may access the registry and mutate files outside GitContribute's application directories.
A successful npm exit is not sufficient. GlobalNPM resolves npm's actual prefix and verifies the platform-specific command shim so MCP registration never records an assumed or missing path. It does not modify shell startup files or the parent process's PATH.
Types ¶
This section is empty.