Lessons:2Length:10 minutes
  • Overview
  • Transcript

1.2 First Look at Yarn Package Manager

Anything npm can do, Yarn can do better. It can completely replace npm in your daily workflow. In this lesson, you'll learn some of the commands Yarn provides for initializing a project (yarn init) and adding and removing dependencies to your project (yarn add and yarn remove, respectively). I'll also teach you what the yarn.lock file is, and how to install and update specific versions of dependencies.

Yarn isn't a package registry. It still uses the npm registry to download and update packages in your project; it just does so faster than the npm command-line tool, and with more reliable results.

1.First Look at Yarn Package Manager
2 lessons, 09:42

Free Lesson

First Look at Yarn Package Manager