This section shows you how to configure the following for the Package Manager:
In addition, you can find the location of the Package Manager configuration files under Configuration files.
Package Manager supports two configuration files: a global configuration file and a user configuration file. Both of these files use the TOML format and they appear in different locations:
Package Manager uses a global configuration file named upmconfig.toml
. This file isn’t created when you install the Unity Hub or Editor, but you can create it in the following location if you need to customize your configuration:
Environment: | Location: |
---|---|
Windows |
%ALLUSERSPROFILE%\Unity\config\upmconfig.toml (for example, C:\ProgramData\Unity\config\upmconfig.toml ) |
macOS and Linux | /etc/upmconfig.toml |
Package Manager uses a user configuration file named .upmconfig.toml
. This file isn’t created when you install the Unity Hub or Editor, but you can create it in the following location if you need to customize your configuration:
Environment: | Location: |
---|---|
Windows (user account) |
%USERPROFILE%\.upmconfig.toml (for example, C:\Users\myusername\.upmconfig.toml ) |
Windows (system user account) |
%ALLUSERSPROFILE%\Unity\config\ServiceAccounts\.upmconfig.toml (for example, C:\Users\Public\Unity\config\ServiceAccounts\.upmconfig.toml ) |
macOS and Linux |
~/.upmconfig.toml (for example, /Users/myusername/.upmconfig.toml ) |