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:
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.
Restart UiPath Studio:
After setting the environment variable, restart UiPath Studio if it’s currently open.
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.