Skip to content

SELF_UPGRADE

View as Markdown
const SELF_UPGRADE: [string, string[]];

Defined in: agent/src/agent.ts:48

The POSIX form of the self-upgrade command. The agent runs selfUpgradeCommand() instead, which resolves npm for the Node in use (on Windows: node npm-cli.js, never npm.cmd).