How To Change Default Install Location -

robocopy "C:\Program Files" "D:\Program Files" /E /COPYALL /DCOPY:T rmdir "C:\Program Files" /S /Q mklink /J "C:\Program Files" "D:\Program Files" Repeat for C:\Program Files (x86) if needed.

sudo systemctl stop snapd sudo mv /var/lib/snapd /mnt/bigdrive/snapd sudo ln -s /mnt/bigdrive/snapd /var/lib/snapd sudo systemctl start snapd Set in ~/.bashrc or ~/.config/environment.d/ : how to change default install location

sudo mkdir -p /etc/dpkg/dpkg.cfg.d/ echo "path-include=/mnt/bigdrive/usr/*" | sudo tee /etc/dpkg/dpkg.cfg.d/path-redirect (Not recommended – breaks security updates) use --installroot :

setup.exe /DIR="D:\MyApps" /VERYSILENT /SUPPRESSMSGBOXES Use msiexec for MSI files: how to change default install location

# Create user Applications folder if missing mkdir ~/Applications defaults write com.apple.installer TargetDirectory -string "/Volumes/Data/Applications"

sudo mkdir -p /mnt/bigdrive/usr sudo mount --bind /mnt/bigdrive/usr /usr # Make permanent via /etc/fstab echo "/mnt/bigdrive/usr /usr none bind 0 0" | sudo tee -a /etc/fstab For , use --installroot :