Help Center/ CodeArts Artifact/ User Guide/ Self-Hosted Repos 1.0/ Connecting Self-Hosted Repos to Your Local Development Environment
Updated on 2025-08-05 GMT+08:00

Connecting Self-Hosted Repos to Your Local Development Environment

Downloading Configuration Files of Self-Hosted Repos

You can connect the self-hosted repo to a local development environment so that private packages in the self-hosted repo can be used during local development.

  1. Go to the self-hosted repo page. In the left pane, click the name of the repository to be connected to your local development environment.
  2. Click Tutorial on the right of the page.
  3. In the displayed dialog box, click Download Configuration File to download the configuration file to your local directory.

  4. Copy the downloaded file to the corresponding directory based on the instructions in the information dialog box.

Resetting Repository Password

You can download the configuration file to connect the self-hosted repo with your local development environment. The repository password is the password in the self-hosted repo configuration file. Therefore, after the repository password is reset, download the latest configuration file to replace the original file.

  1. Go to the self-hosted repo page. Click above the repository list on the left and choose Reset Repository Password.
  2. In the displayed dialog box, click Confirm. Check that a message is displayed indicating the password has been reset.

You can also upload and download private packages through a client. The procedure is the same as that of self-hosted repo 2.0. For details, see Uploading Packages to Self-Hosted Repos from the Client and Downloading Packages from Self-Hosted Repos to the Client.