By default, the .hvigor directory is located in the user directory, with specific paths depending on the operating system:
If the disk space in the default directory is insufficient, you can customize the .hvigor directory path by following these steps:
The custom .hvigor directory cannot contain spaces.
Add the absolute path to the .hvigor directory under system or user variables.
Variable name: HVIGOR_USER_HOME
Variable value: absolute path where you want to store the .hvigor directory, for example, D:\HvigorUserHome.

launchctl setenv HVIGOR_USER_HOME /Users/xx #Replace with the absolute path for the .hvigor directory
Note that this setting will be lost after restarting your computer.
The method to set system variables on macOS can vary depending on the system version. The following is just one example. Adjust according to your specific system version.
Add the following line to /etc/launchd.conf (if the file does not exist, you can create it yourself).
setenv HVIGOR_USER_HOME /Users/xx #Replace with the absolute path for the .hvigor directory
After making this change, restart your computer for the setting to take effect.
Start the terminal tool and run the following command:
vim ~/.bashrc
export HVIGOR_USER_HOME=/home/xx #Replace with the absolute path for the .hvigor directory
Save and close the file, then reload the .bashrc configuration file with the source command:
source ~/.bashrc