株式会社オブライト
Tooling2026-05-17

Yarn

Also known as: Yarn Berry / Yarn v4 / yarn classic

Facebook's JavaScript package manager. Yarn v1 introduced a reliable lockfile; Yarn Berry Plug'n'Play eliminates the node_modules directory.


Overview

Yarn predates the modern npm and delivers reliable installs via yarn.lock and built-in workspaces for monorepos. Yarn Berry's Plug'n'Play removes node_modules entirely, though VSCode integration needs some configuration.

Usage in React Native and Expo

Yarn v1 was the long-standing default in React Native projects. Expo now supports both pnpm and Yarn. See the React Native complete guide 2026 for setup examples.

Related Columns

Related Terms

Feel free to contact us

Contact Us