The following commands will produce a small application that allows you to run Vivaldi—or any other Chromium-based browser—in Standalone mode on a Mac. This could be used for testing a specific setup or version, without touching the system wide settings (profile). It can also be used to create a portable (USB install) of Vivaldi that you could store on an external disk, for sharing between computers.
Start Terminal and issue the following:
mkdir -p Standalone\ Mode.app/Contents/MacOS
printf '#!/bin/sh\nopen -a "${0%%/*.app/*}"/[!\(Standalone\)]*.app --args --user-data-dir="${0%%/*.app/*}/profile"\n' > Standalone\ Mode.app/Contents/MacOS/Standalone\ Mode
chmod +x Standalone\ Mode.app/Contents/MacOS/Standalone\ Mode
You should now have an application called "Standalone Mode", stored in the folder where Terminal is running—you can check the folder location with pwd or open the folder in Finder with open .
Make a new, empty folder and place "Standalone Mode" and "Vivaldi" inside—nothing else.
To use, simply double click on "Standalone Mode", rather than running Vivaldi directly. Your settings will be stored in a subfolder called "profile".
For those users who use the Terminal frequently, I have included a shell script that can be used to automate unpacking a Vivaldi .dmg package into an appropriately named directory. This will also set up a "Standalone Mode" launcher application for you.
- Download
vivaldi-standalone.sheither by cloning this git repository or by clicking on the Raw link (below) in your browser. - Make the script executable and move it to a suitable location:
chmod +x vivaldi-standalone.sh
sudo mv vivaldi-standalone.sh /usr/local/bin/vivaldi-standalone
Issue the following (adjust "Vivaldi.1.0.365.3.dmg" to be the name and location of the Vivaldi .dmg you are setting up):
vivaldi-standalone Vivaldi.1.0.365.3.dmg
You will be prompted to agree to the Vivaldi license—scroll down by pressing Space several times, then press Y and Enter to agree.
To run Vivaldi, navigate into the newly created directory, and double click on "Standalone Mode"—always use this rather than running Vivaldi directly. Your settings will be stored in a subfolder called "profile".