corepack
Verified for current stable LTS
Corepack Commands
Corepack command syntax with verified terminal examples.
Commands
8 commands for Corepack
corepack Operations
Corepack Command: Enable Corepack Global
corepack enable corepack Operations
Corepack Command: Enable Corepack Directory
corepack enable --install-directory <path/to/directory> corepack Operations
Corepack Command: Disable Corepack
corepack disable corepack Operations
Corepack Command: Prepare Package Manager
corepack prepare <package_manager>@<version> --activate corepack Operations
Corepack Command: Prepare Default Package Manager
corepack prepare corepack Operations
Corepack Command: Use Package Manager
corepack <npm|pnpm|yarn> <package_manager_arguments> corepack Archive
Corepack Command: Hydrate Package Manager
corepack hydrate <path/to/corepack.tgz> corepack Operations
Corepack Command: Help Subcommand
corepack <subcommand> --help Suggest a Corepack Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Corepack workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.