Getting started on Gemfury with JavaScript

Install packages with npm

You can configure your JavaScript project to use Gemfury as the primary source of packages. To start, commit a .npmrc configuration to the root directory of your project:

# PROJECT_DIR/.npmrc

Subsequently, each collaborator would locally authenticate using their Gemfury credentials before running npm commands:

npm login --registry=

It is important to include a trailing slash in the registry URL, otherwise npm may have trouble connecting to your Gemfury registry.

Blended-index registry

The endpoint only enables access to packages in your Gemfury account, however, you can similarly configure to use the blended index registry URL to combine your account index with the public index:

# PROJECT_DIR/.npmrc

Authenticating for deployment
Working with scoped packages
Configure Gemfury registry for all npm projects