Command-Line Interface for Linux

Table of Contents

The following commands can be entered in the Linux terminal or can be used in a script in order to automate parts of AnyDesk.

Installation Commands

AnyDesk for Linux can be downloaded and updated via the command-line interface using the AnyDesk repositories. Instructions on how to set up and use the repositories can be found below:

Back to Top

Client Commands

These commands can be used to interact with the AnyDesk client through the terminal or scripts.

Command Description
anydesk <parameter> See Client Command Parameters.
echo <password> | anydesk –set-password Set the specified password for unattended access. (Needs to be used as root).
echo <license_key>| anydesk –register-license Register the specified license key. 

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 current AnyDesk client version.
--settings Open the default settings page.
--admin-settings Open the specified global settings page. (Needs to be used as root).
Viable parameters:
capture, security, connection, recording.
Open the administrative settings on the specific page. (needs to be used as root)

Back to Top