Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.

add-on registry release license

DDEV Nub

Overview

Nub is a Node.js CLI tool, published as the @nubjs/nub npm package.

This add-on installs the Nub CLI into the DDEV web container so it’s available for every project without having to install it globally on the host.

Installation

ddev add-on get MetaSyntactical/ddev-nub
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Usage

Configuration

Pinning the Nub version

By default, the add-on installs the latest Nub release every time the web image is built. To pin a specific version instead:

ddev dotenv set .ddev/.env.nub --nub-version=<version>
ddev restart

For example:

ddev dotenv set .ddev/.env.nub --nub-version=1.2.3
ddev restart

Leave .ddev/.env.nub absent, or its value empty, to keep installing the latest release on every build.

Make sure to commit .ddev/.env.nub to version control once you’ve pinned a version.

Credits

Maintained by MetaSyntactical

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.