- Install brave with scoop.sh
scoop install brave
- Open Brave and set it as default from Settings->Set Brave as your default browser. You can also open settings with
brave://settings/
- Open Windows settings, go to Apps->Default apps and click on Brave in the "Set defaults for applications" list. Click on "Set default" next to "Make Brave your default browser"
- Scoop keeps your Brave User Data folder under
%USERPROFILE%\scoop\persist\brave\User Data\
instead of default%APPDATA%\Local\BraveSoftware\Brave-Browser\User Data\
when installing Brave system wide. - Scoop creates a StartMenu shortcut for you that passes a
--user-data-dir=
to the executable to open the browser with a correct data dir - This flag is not passed when setting Brave as your default browser app, causing Brave to create a new empty profile under
%APPDATA%
when handling user clicked links
- Need to pass the same
--user-data-dir=
flag to the command that starts the default browser - Run the registry editor and navigate to
Computer\HKEY_CURRENT_USER\Software\Classes\
and search for an entry starting withBraveHTML
. In my case:
Computer\HKEY_CURRENT_USER\Software\Classes\BraveHTML.EZFHM3RMMULEVXSSUS2XFITXRI\shell\open\command
- Modify the value to include the correct User Data path.
From:
"C:\Users\USER\scoop\apps\brave\current\brave.exe" --single-argument %1
To:
"C:\Users\USER\scoop\apps\brave\current\brave.exe" --user-data-dir="C:\Users\USER\scoop\apps\brave\current\User Data" --single-argument %1
- Do the same for the
Computer\HKEY_CURRENT_USER\Software\Classes\BraveFile\shell\open\command
to fix the "Open with -> Brave" context menu. - Click on a link in any application rather than Brave itself.
Please add "change in
Computer\HKEY_CURRENT_USER\Software\Classes\BraveFile\shell\open\command
" also