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: 

http://deb.anydesk.com/howto.html

http://rpm.anydesk.com/howto.html

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).
--admin-settings:<viable_parameter>
Viable parameters:
capture, security, connection, recording.
Open the administrative settings on the specific page. (needs to be used as root)

Back to Top

Connection Commands

A connection can be established through the command-line interface.
When requesting a connection through the command line, several parameters can be appended.

Command Description
anydesk <ID/Alias> <additional parameters>

AnyDesk will request a connection to the specified client.

See Optional Connection Command Parameters for additional parameters

echo <password> | anydesk <ID/Alias> --with-password AnyDesk will send a connection request to the specified client with the entered password.

Optional Connection Command Parameters.

Parameter Description
--file-transfer AnyDesk will start a File Transfer session.
--fullscreen AnyDesk will start an interactive session in fullscreen mode.

Back to Top