Skip to main content
Version: 6.0.0

Getting Started

ncm-cli is a command-line tool for NodeSource Certified Modules 2.0, designed to make code quality, security, and compliance a breeze. This allows you to generate a custom project report, fetch compliance and security information, manage organizational whitelists, and inspect specific packages in greater detail -- all from the command-line.

Installation

npm install -g ncm-cli

Usage

"usage"

Authentication

ncm-cli supports three forms of authentication.

1. NodeSource Account:

Sign-in interactively using your NodeSource account email and password.

$ ncm signin

2. Single Sign-on

  • Using a Google account: ncm signin -G, --google
  • Using a GitHub account: ncm signin -g, --github

3. Environment Variable (CI/CD)

$ NCM_TOKEN=<token> ncm <command> [options]

Learn more about obtaining service tokens and configuring permissions here.