npm
Node Package Manager - included with Node.js for JavaScript and TypeScript projects.
Using npm Locally
With the JFrog Fly Desktop App (Recommended)
Ensure the Desktop App is installed, running, and configured for npm.
Simply use your standard commands - the Desktop App handles authentication automatically:
Upload:
npm publishDownload:
npm install <package-name>Alternatively: Manual Configuration
1. Generate an Access Token
2. Configure
Create or edit .npmrc in your project or home directory:
registry=https://<your-fly-subdomain>.jfrog.io/artifactory/api/npm/npm/
//<your-fly-subdomain>.jfrog.io/artifactory/api/npm/npm/:_authToken=<your-fly-token>3. Upload
npm publish4. Download
npm install <package-name>Using npm in CI/CD
npm is fully supported in GitHub Actions workflows configured with JFrog Fly.
Learn how to configure GitHub Actions →
Back to JavaScript & TypeScript →