Running Parsec from the command line can be useful when you want to start Parsec and automatically connect to an already online machine, or apply certain persistent settings automatically.
Examples
The examples below use peer_id=exampleid
, which allows you to connect to an already online computer that matches that peer ID. The peer ID is available via the Computers tab. You must have already logged into Parsec before for this to work.
Windows
"C:\Program Files\Parsec\parsecd.exe" peer_id=exampleid
macOS
This only works well with the regular version of the app (available from the downloads page), and does not work properly with the version that allows for login screen access. Any necessary macOS permissions for the app will need to be set for the terminal rather than Parsec, while it runs in the terminal.
/Applications/Parsec.app/Contents/MacOS/parsecd peer_id=exampleid
Linux
/usr/bin/parsecd peer_id=exampleid
Settings
Any settings applicable to your operating system can be added via command line, separated by colons like the example below. You can choose to include peer_id as well in case you want to connect to an available machine. See the list of advanced settings for possible settings.
parsecd peer_id=exampleid:client_vsync=1