

If you plan to install a package through the project level, then you do not have to adhere to the naming convention.

You can use one of two API endpoints to install packages: Naming conventionĭepending on how the package is installed, you may need to adhere to the naming convention. Undocumented authentication methods might be removed in the future. If you are publishing a package via CI/CD pipelines, you must use a CI job token.Ĭreate a token and save it to use later in the process.ĭo not use authentication methods other than the methods documented here.If your organization uses two factor authentication (2FA), you must use a personal access token with the scope set to api.For more information, review the guidance on tokens. There are different tokens available depending on what you’re trying to achieve. Publish to GitLab Package Registry Authentication to the Package Registry Watch a video demo of how to publish npm packages to the GitLab Package Registry. Learn how to build an npm or yarn package.


404 Not Found errors are happening on npm install or yarn.Install npm packages from other organizations.Publishing a package via a CI/CD pipeline.Publishing a package via the command line.
