Mastering AnyDesk Command-Line Interface for Linux: Installation, Client, and Connection Commands

Table of content

AnyDesk 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 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:

How to Set Up AnyDesk Repositories

How to Use AnyDesk Repositories

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> View 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> Request a connection to the specified client. See Optional Connection Command Parameters for additional parameters.
echo <password> | anydesk <ID/Alias> --with-password Send a connection request to the specified client with the entered password.

Optional Connection Command Parameters

Parameter Description
--file-transfer Start a File Transfer session.
--fullscreen Start an interactive session in fullscreen mode.

Back to Top

Published at

Leave a comment

Your email address will not be published

No comments yet!