Skip to main content

Development Setup

The development workflow for NDM is intentionally simple and strictly standardized. To ensure consistent builds and reliable testing, NDM only supports pnpm. Any contribution using npm, yarn, bun, or other package managers will be rejected.

Setup Instructions

  1. Fork the repository
    All contributions must be made through a personal fork. Direct pushes to the main repository are not allowed.

  2. Clone your fork

git clone https://github.com/<your-username>/ndm.git
cd ndm
  1. Install dependencies (pnpm only!)
pnpm install
  1. Link the CLI locally
    This is required so the CLI behaves correctly during development.
pnpm link --global
  1. Run the development watcher
pnpm watch

This automatically rebuilds the CLI on file changes.

OR

  1. Run a manual build
pnpm build

Important Notes

Only pnpm is accepted.
Pull requests using other package managers will be declined.

Local linking is mandatory.
Without pnpm link, several CLI features will not work correctly.

Keep your fork up to date
Regularly sync your fork with the upstream repository to avoid conflicts.