- Help Center
- Features
- Command-Line Interface
-
Getting Started
-
Setup
-
Features
- Unattended Access
- Permission Profiles
- Administrator Privileges and Elevation (UAC)
- File Manager and File Transfer
- Address Book
- Session Invitation
- Command-Line Interface
- Remote Restart
- Session Recording
- Remote Print
- REST-API
- Wake-On-LAN
- Keyboard & Hotkeys
- Windows Group Policy
- Chat
- URL Handler
- TCP-Tunneling
- Whiteboard
- VPN
- On-Premises
- Mobile Device Management (MDM)
- Session Requests
- Screen Recording
-
my.anydesk II
-
Other Platforms
-
FAQ
Command-Line Interface for macOS
Table of Contents
Installation Command
As of AnyDesk 6.3.0 for macOS, a PKG installer is available for custom clients. These can be installed using the following script:
sudo installer -pkg AnyDesk.pkg -target /
Warning: The above command will not automatically start up the AnyDesk client and Service.
After running it, AnyDesk will need to be started in order to use the below commands.
Client Commands
These commands can be used to interact with the AnyDesk client through the command-line interface or scripts in the form:
Command | Description |
/Applications/AnyDesk.app/Contents/MacOS/AnyDesk <parameter> | See Client Command Parameters. |
echo <license_key> | /Applications/AnyDesk.app/Contents/MacOS/AnyDesk --register-license | Register the specified license key. |
echo <password>| sudo /Applications/AnyDesk.app/Contents/MacOS/AnyDesk --set-password | Set the specified password for unattended access. (Requires administrative privileges) |