Access private packages ©️ #
Various method exists to access our private packages.
Using npm login #
The most common one is to use the
npm login command.
npm login --scope=@kuzzleio --registry=https://packages.paas.kuzzle.io --auth-type=legacy
- Enter the username & the password
- Install your npm package:
npm login command will create a file named
.npmrc in your home directory. This file contains your credentials and is used by
npm to authenticate you when you install a package.
Using kourou paas:login #
The Kourou CLI is a command line tool that allows you to interact with a Kuzzle API.
Through our dedicated command
kourou paas:login you can login to our private registry.
Under the hood, this command will create a
.npmrc file in your home directory.
kourou paas:login --help USAGE $ kourou paas:login OPTIONS --help show CLI help --only_npm Only perform the login on the private NPM registry --project=project Current PaaS project --username=username PaaS username
From this point, you can install any private package using
npm install @kuzzleio/<kuzzle-plugin>
Have a look at our list of plugins (opens new window) that will help you build your application properly.
What's next? #
Once you have finished this step, you can initialize your application with one of our templates available from Github - follow me
- 🗒️Talk to us on Discord (opens new window)
- 🗒️Talk to us on Github (opens new window)