software-cli-overview.md
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Only install CLI if you need to make a connection from the device to another device directly (Initiator connection). Most of the time you need a device package or the Desktop Application.
At this time Windows single board for IoT devices does not have a device package and you should install the CLI.
The remote.it CLI has slightly different behavior if you are running as a root user versus a non-root user. In general, you will want to run as a root user, though there are a couple cases where you don't. These will be made clear.
On Windows, you will need to open a "Command Prompt" as an Administrator and replace any example you see as sudo remoteit by remoteit.exe
On Mac and Linux, you must run any commands related to creating/managing a Device or Services as a root user (e.g. sudo)
OpenWRT is not available at this time
This quick install allows you to just paste a single command into the terminal of the target device. You must have the Desktop App or access to https://app.remote.it installed and a remote.it account created before proceeding.
Quick install only is available for Linux based systems such as Debian, Raspberry Pi OS, MacOS, and Linux at this time. If you have Windows, please refer to manual installationbelow.
The quick install script tries to determine the correct CLI package to download based on your system architecture. It then downloads the CLI package, installs it, and registers it to your account. You can do the same with the manual install instructions below as long as you pick the right CLI package to download and install.
If using the desktop app, it must be version 3.5.2 or greater.
This command will automatically detect the platform and architecture of your device. It will install the CLI, register it to your account and set up the SSH service.
Replace YOUR-REGISTRATION-CODE with the registration code you copied from the Remote.It Add Device Page.
Devices are registered using the Host name of the device. You can add a variable to the command to override this before you run the command by adding the following before the the R3_REGISTRATION_CODE plus a space.
R3_DEVICE_NAME="Your device name"
Otherwise, you can rename the device after in the RemoteIt Desktop, app.remote.it or Mobile application. See documentation on devices and Editing Device Name
Your new device should register to your account and it is ready for use. See Usage.
If you have issues with registration, we want to hear from you. Please post on our community at forum.remote.it
We recommend using the quick install method above since it will download the package and install it automatically. You can use this method if you prefer to select the package and install it manually.
Download the binary for the platform and Architecture/Distribution to the device. Find the binaries here: https://link.remote.it/download/cli
Please be sure to download the correct package for your device.
Debian/Linux/Raspberry Pi OS
MacOS
Windows
Place the file in /usr/bin and rename to "remoteit"
You will need to change permissions on the file to make it executable by opening Terminal
After placing the binary and making it executable, you will need to install the agent using the following command
You can now start using CLI. See Usage for registration and connection information
Place the file in /usr/local/bin and rename to "remoteit"
You will need to change permissions on the file to make it executable by opening Terminal
After placing the binary and making it executable, you will need to install the agent using the following command
You can now start using CLI. See Usage for registration and connection information
Place the file in your drive which has "Program Files" typically your "C" drive and rename to "remoteit.exe"
You will need to update your PATH environmental variables to add the full path to the exe. e.g. C:\Program Files\remoteit.exe
You will need to install the agent using the following command as an Administrator in command line
You can now start using CLI. See Usage for registration and connection information
PreviousSupported PlatformsNextDocker
Last updated 14 days ago
Was this helpful?