Javascript

Install private packages with Yarn

Once you have signed up for a Gemfury account and uploaded some npm packages, you can install them with Yarn.

Setting up your global configuration

To start using your private registry with Yarn, you will need to update your npm config and authenticate using your personal Gemfury credentials:

npm config set registry https://npm.fury.io/USERNAME/
npm config set always-auth true
npm login

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