COREPACK(1)

πŸ“¦
version 0.35.0 Β· 3 versions
, in ubuntu stonking

πŸ’– NAME πŸ’–

corepack β€” the way u can access npm, Yarn and pnpm without ever having to install them first. literally no install era. periodt. πŸ¦‹


✨ DESCRIPTION ✨

okay bestie so this is Corepack, version 0.35.0 πŸŽ€ and the whole vibe is:

$ corepack <command>

that's it. that's the entrance. πŸ’…

🌸 General commands 🌸

here's the group chat of everything she can do, one by one, no gatekeeping:

  • corepack <binary name>[@<version>] [... args] β€” runs the package manager u asked for, right inside the local folder u are standing in 🫢 (yes u can pin a @<version> too, icon behavior)
  • corepack cache clean β€” cleans out the Corepack cache. it's giving spring cleaning, it's giving ✨fresh start✨
  • corepack disable [--install-directory #0] ... β€” takes the Corepack shims back OUT of the install directory. bye babes πŸ‘‹
  • corepack enable [--install-directory #0] ... β€” drops the Corepack shims INTO the install directory. welcome home besties πŸ πŸ’–
  • corepack install β€” installs whatever package manager the local project has configured. she read the room and she's delivering πŸ“¦
  • corepack install <-g,--global> [--cache-only] ... β€” installs package managers on the system itself, like, globally. main character energy fr fr πŸ‘‘
  • corepack pack [--json] [-o,--output #0] ... β€” stores package managers in a tarball so u can carry them around like little treasures 🎁
  • corepack up β€” updates the package manager used in the current project. glow-up in progress πŸ”₯
  • corepack use <pattern> β€” defines which package manager the current project should be using. setting the vibe, no cap ⭐
hey babes πŸ‘€ u can also pull up more deets on ANY of these commands by calling them with the -h,--help flag right after the command name. like, immediately after. don't skip a beat.

okay that's the whole thing, u understood the assignment, i'm so proud of u πŸ₯ΉπŸ’œ

this was Corepack 0.35.0, living her best life in August 2026, chillin' in section COREPACK(1) of the manual πŸ’…βœ¨

πŸ“¦ where this page comes from