---
category: protocols
slug: /protocol/npm
title: "Npm Protocol"
description: How npm dependencies work in Yarn.
---

The default `npm:` protocol fetches packages from the npm registry. This is the protocol used by default if no protocol is specified in the package version.

```
yarn add react@17.0.2
```
