Yarn DLX

The yarn dlx command runs a package in an isolated temporary environment without permanently installing it. Yarn's equivalent of npx, used for one-shot tools, code generators, and bootstrap scripts. Always pulls a fresh copy by default, preventing the stale-cache footguns of npx.

Yarn DLX is one of 10 APIs that Yarn publishes on the APIs.io network.

Tagged areas include dlx, Ephemeral Execution, and JavaScript. The published artifact set on APIs.io includes API documentation.

API entry from apis.yml

apis.yml Raw ↑
aid: yarn-pkg:yarn-dlx
name: Yarn DLX
tags:
- dlx
- Ephemeral Execution
- JavaScript
humanURL: https://yarnpkg.com/cli/dlx
properties:
- url: https://yarnpkg.com/cli/dlx
  type: Documentation
description: The yarn dlx command runs a package in an isolated temporary environment without permanently
  installing it. Yarn's equivalent of npx, used for one-shot tools, code generators, and bootstrap scripts.
  Always pulls a fresh copy by default, preventing the stale-cache footguns of npx.