npm-quickstart
Last updated on
This guide will help you create a NPM Artifact Registry in Harness, configure an upstream proxy, and manage NPM packages.
NPM Artifact Registry
Prerequisites
- Ensure you have the NPM CLI (
npm) installed on your local machine. - Access to a Harness account with appropriate permissions to create registries and connectors.
Create a NPM Artifact Registry
- Interactive Guide
- Step-by-Step
- Navigate to the Artifact Registry module in your Harness project.
- Click on New Artifact Registry.
- In the Registry Type dropdown, select NPM Registry.
- Provide a Registry Name.
registry name criteria
Your registry name must start with a letter and can include lowercase alphanumerics, _, . and -.
- Optionally, add a Description and Labels for better organization.
- Click Create Registry to finalize.
private registry
This registry will serve as your private NPM registry within Harness.