Mastering AnyDesk: Command-Line Interface Guide for macOS
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.
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 |
Set the specified password for unattended access. (Administrative privileges required) |
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 |
- Published at