How can I change the location to download dependencies?

Hi everyone,

when I start a project in Studio and got access to Orchestrator feed Studio will download the dependencies from Orchestrator feed and save them here.

image

Is there a way to change that location? For example I just want the dependencies to be downloaded to folder “Downloads” or any self defined path.

All the best and thanks!

UiPath Studio does not provide a built-in option to directly change the default location where dependencies are downloaded from Orchestrator feeds. The default behavior is to download the dependencies to the local package cache, which is typically located at:

%userprofile%\.nuget\packages

However, you can control the location of your local package cache by setting the NUGET_PACKAGES environment variable to your desired path. Here’s how you can do that:

  1. Set the NUGET_PACKAGES environment variable:

    • Open the System Properties dialog by pressing Win + Pause/Break, then click on “Advanced system settings” on the left.
    • In the “System Properties” window, click on the “Environment Variables” button.
    • Under the “System variables” section, click on the “New” button.
    • In the “Variable name” field, enter NUGET_PACKAGES.
    • In the “Variable value” field, provide the path to the folder where you want the packages to be stored (for example, C:\Downloads\UiPathPackages).
    • Click “OK” to close the dialog boxes.
  2. Restart UiPath Studio:

    • After setting the environment variable, restart UiPath Studio if it’s currently open.
  3. Configure Studio for the Custom Location (Optional):

    • In UiPath Studio, go to “Tools” > “Options” > “NuGet Feed”.
    • Under “NuGet feed sources,” add your Orchestrator feed if it’s not already added.
    • UiPath Studio should now use the custom location specified in the NUGET_PACKAGES environment variable to download and cache packages.

Remember that modifying environment variables can impact various applications, so be cautious and ensure that you understand the implications of these changes.

Keep in mind that UiPath may have introduced new features or changes since my last update in September 2021. It’s always a good idea to refer to the latest UiPath documentation or community resources for the most up-to-date information.

Hope it helps

2 Likes

Yes that helps thanks!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.