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

The `workspace:` protocol can be used to reference other workspaces in a monorepo setup. For more information, consult the dedicated page about [workspaces](/features/workspaces).

```
yarn add lib@workspace:^
```
