Skip to content

selfUpgradeCommand

View as Markdown
function selfUpgradeCommand(o?): Promise<[string, string[]]>;

Defined in: agent/src/exe.ts:60

The self-upgrade command (npm i -g @uncage/cli@latest), resolved for the Node running this process so the upgrade lands where this CLI was installed. Windows: always node npm-cli.js …, never npm.cmd (cmd.exe mangles arguments, and .cmd cannot be started without a shell).

Parameter Type
o? ResolveOptions

Promise<[string, string[]]>