Mastering AnyDesk: Command-Line Interface Guide for macOS

Table of content

Command-Line Interface for macOS

Table of Contents

Installation Command Client Commands

Installation Command

Starting from the release of AnyDesk 6.3.0 for macOS, a PKG installer is now available for custom clients. You can install it by running the following script:

sudo installer -pkg AnyDesk.pkg -target /

Note: Keep in mind that executing the above command will not automatically start up the AnyDesk client and Service. After running it, you will need to manually start AnyDesk to utilize the commands below.

Back to Top

Client Commands

These commands allow you to interact with the AnyDesk client through the command-line interface or scripts, as shown below:

Command Description
/Applications/AnyDesk.app/Contents/MacOS/AnyDesk View Client Command Parameters.
echo <license_key> | /Applications/AnyDesk.app/Contents/MacOS/AnyDesk –register-license Register the specified license key.
echo | sudo /Applications/AnyDesk.app/Contents/MacOS/AnyDesk –set-password Set the specified password for unattended access. (Administrative privileges required)

Client Command Parameters

Parameter Description
--get-alias Retrieve the AnyDesk-Alias.
--get-id Retrieve the AnyDesk-ID.
--get-status Retrieve the client’s online status.
--version Retrieve the AnyDesk version

Back to Top

Published at

Leave a comment

Your email address will not be published

No comments yet!