You are here: Foswiki>ReactJs Web>YarnPackageManager (17 Jan 2022, shss\dhakchina)Edit Attach
-- Main.shssdhakchina - 17 Jan 2022

Yarn Package Manager

Yarn is a package manager for your code. It allows you to use and share code with other developers from around the world. Yarn does this quickly, securely, and reliably so you don't ever have to worry.

Yarn allows you to use other developers' solutions to different problems, making it easier for you to develop your software. If you have problems, you can report issues or contribute back on GitHub, and when the problem is fixed, you can use Yarn to keep it all up to date.

Code is shared through something called a package. A package contains all the code being shared as well as a package.json file (called a manifest) which describes the package.

Installing Yarn

Use npm command to install yarn globally in the device.
npm install -g yarn

Installing Packages

Use the below command to install pacakge.
yarn add <packagename>
Topic revision: r1 - 17 Jan 2022, shss\dhakchina
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback