If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.
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.
ddev add-on get MetaSyntactical/ddev-nub
ddev restart
After installation, make sure to commit the .ddev directory to version control.
ddev nub [command] runs any Nub CLI command inside the web container.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.
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.