Confusing installation

The recommended installation method of R3_REGISTRATION_CODE=“blabla” sh -c “$(curl -L https://downloads.remote.it/remoteit/install_agent.sh)” runs well in a ubuntu 22, but does not install any executable at /usr/bin, so it is impossible to run any cli command: apparently it only installs the service

On the other hand, if we try to install it manually by downloading the cli and putting it in /usr/bin as indicated, it tells you it cannot coexist with the service

It’d be nice if the recommended install method above installed the whole thing

Hello that method of installation is for the device package and not for the CLI.

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.

If you are intending to install the CLI, you would use a different command.

R3_REGISTRATION_CODE="YOUR-REGISTRATION-CODE" sh -c "$(curl -L https://downloads.remote.it/cli/install_cli.sh)"

If you already installed the device package, do not try to install the CLI manually on top.
Documentation for CLI: Installation | Remote.It

Oh, I see now there is R3_REGISTRATION_CODE=“YOUR-REGISTRATION-CODE” sh -c “$(curl -L https://downloads.remote.it/cli/install_cli.sh)” and R3_REGISTRATION_CODE=“YOUR-REGISTRATION-CODE” sh -c “$(curl -L Remote.It Download)”: the commands look alike. Thanks

The one time register a device for device package and CLI are similar and can use the same code, however the script is different.
In most cases, people do not need the CLI and need only the device package. The device package allows you to connect to the device that you are installing the package on. The CLI allows you to make connections to another device AND it can also support inbound connections. The device package is much smaller and takes less resources to run it.