Mastering the Command-Line Interface for macOS: AnyDesk Installation and Client Commands

Table of content

Installation Command

Starting with the AnyDesk 6.3.0 release for macOS, a PKG installer is now available for customized clients. To install these, use the following script:

Please note: The above command will not automatically launch the AnyDesk client and Service. After executing it, AnyDesk must be manually started to utilize the commands below.

Back to Top

Client Commands

The following commands are available to interact with the AnyDesk client via the command-line interface or scripts:

Command Description
/Applications/AnyDesk.app/Contents/MacOS/AnyDesk See 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. (Requires administrative privileges)

Client Command Parameters

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

Back to Top

Published at

Leave a comment

Your email address will not be published

No comments yet!