You need to enable JavaScript to run this app.
Container Registry

Container Registry

Copy page
Download PDF
NPM package management
Managing packages
Copy page
Download PDF
Managing packages
After successfully uploading packages, you can view their details. This document introduces the methods for viewing packages.​
View package details​
  1. Log in to the Artifact repository console.​
  1. In the left navigation bar, select Instances. In the Instances area on the right page, click to enter the artifact repository instance.​
  1. At the top of the left navigation bar, select the NPM package format from the drop-down menu, and then in the menu bar, choose Package Management.​
  1. Select a specific repository to view the list of packages in the current repository.​
  1. Click on the target package name to access its details page. You can view the version list of this package.​
Delete packages​
The artifact repository supports deleting packages that already exist in the repository via the command line. To do so, follow the steps below:​
  1. Configure local credentials.​
  • For MAC Systems: Execute the following command to configure local access credentials. ​
  • ​
    npm config set //{repository_url}:_auth=$(echo -n '{username}:{password}' | base64)​
    ​
  • For Linux Systems: Execute the following command to configure local access credentials. ​
  • ​
    npm config set //{repository_url}:_auth=$(echo -n '{username}:{password}' | base64 -w 0)​
    ​
  • ​
    Parameter​
    Description​
    ​
    The URL of the artifact repository, which can be viewed and obtained in the artifact repository details. For details, please refer to Managing repositories.​
    The example is as follows:​
    ​
    npm config set //artifacts-beijing.volces.com/repository/npm-demo/:_auth...
    ​
    '{username}:{password}'​
    The login credentials for the artifact repository, e.g., user_demo@2100012345:cf83200******. ​
    tip​
    You can configure either permanent or temporary access credentials:​
    ​
  1. Execute the following command to delete packages.​
​
npm unpublish <PACKAGE>@<VERSION> --force --registry={registry}​
​
​
Parameter​
Description​
<PACKAGE>​
The name of the artifact package.​
<VERSION>​
The version of the artifact package.​
{registry}​
The URL of the artifact repository, which can be viewed and obtained in the artifact repository details. For details, please refer to Managing repositories.​
​
​
Last updated: 2025.10.24 11:20:38