fix: resolve INSTALL_DIR to real user home when run with sudo
$HOME resolves to /root under sudo, causing permission denied errors
when the script tries to create the venv as the non-root user.
Use ~$SUDO_USER to always resolve the invoking user's home directory.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>