Skip to main content

Install RemotiveCLI

Current version: Latest release

Quick install​

Install or upgrade with a single command on macOS and Linux:

curl -fsSL https://files.remotivelabs.com/install.sh | bash

On Linux, this also installs RemotiveBus which requires SocketCAN. If SocketCAN isn't installed, see "Install script options" below.

Then run remotive setup to get started, see Get started.

info

On Windows, WSL2 is supported.

Install script options

To pass options through curl … | bash, add -s -- before them:

# Install without RemotiveBus
curl -fsSL https://files.remotivelabs.com/install.sh | bash -s -- --no-remotivebus

# Install a specific version
curl -fsSL https://files.remotivelabs.com/install.sh | bash -s -- 0.36.0

# Force a reinstall even if already up to date
curl -fsSL https://files.remotivelabs.com/install.sh | bash -s -- -f

# Print what would happen without changing anything
curl -fsSL https://files.remotivelabs.com/install.sh | bash -s -- --dry-run

On Red Hat Enterprise Linux (RHEL), Fedora, and SUSE Linux Enterprise (SUSE), the script keeps an existing /etc/yum.repos.d/remotivelabs.repo, and -f rewrites it. Before v0.36.0 the script wrote that file with gpgcheck=0, which turns off signature checks for every RemotiveLabs package. If you installed with an older script, re-run it with -f to turn them back on.

How the script installs per platform
PlatformMethodFallback
macOSChoose Homebrew tap or signed .pkg-
Debian / Ubuntuapt + RemotiveLabs apt repositoryself-contained bundle
Red Hat Enterprise Linux (RHEL) / Fedora / SUSE Linux Enterprise (SUSE)dnf/yum + RemotiveLabs yum repositoryself-contained bundle
Other Linux (e.g. Arch)self-contained bundle under ~/.local (no root)—
Signed artifacts

Signatures use Privacy Guard (GPG); checksums use Secure Hash Algorithm (SHA) 256-bit digests.

ArtifactSignedNotarizedVerified on install by
macOS .pkg✅ RemotiveLabs Developer ID✅ stapledGatekeeper + SHA-256 (install script)
macOS Homebrew bundle✅ RemotiveLabs Developer ID❌SHA-256 (Homebrew)
Debian / Ubuntu (apt)✅ signed apt repository—apt verifies the repository signature
RHEL / Fedora (yum/dnf)✅ RemotiveLabs GPG key (from v0.23.5)—dnf/yum verifies each package (gpgcheck=1)
Linux tar bundle——SHA-256 (.sha256), verified by the install script
Pipx / PyPI wheel (not recommended)——HTTPS (PyPI)

Upgrade​

From v0.37.0, upgrade from the CLI itself:

remotive upgrade

It compares the installed versions with the latest releases and, after you confirm, upgrades whatever is outdated:

It does this by running the install script of each, and verifies each script's signature before it runs.

To also install a component that isn't installed yet:

# RemotiveBus, on Linux (from v0.38.2)
remotive upgrade --install-remotivebus

# RemotiveStudio Desktop (from v0.39.0)
remotive upgrade --install-studio-desktop

# Every component that isn't installed and is available for this machine (from v0.39.0)
remotive upgrade --install-all

To check without upgrading:

# Only report available updates
remotive upgrade --check

# Print what would happen without changing anything
remotive upgrade --dry-run

--check exits with 0 when everything is up to date, 1 when updates are available, and 2 when the check failed.

remotive upgrade works for installs made with the install script, the .deb, .rpm, and .pkg packages, and Homebrew. If you installed with pipx or unpacked the .tar bundle yourself, upgrade the same way you installed. The install scripts need bash, so on Windows remotive upgrade only reports available updates.

Manual install​

If you prefer to manage the installation yourself, choose your platform and use one of the methods below instead of the install script.

.deb

On Debian and Ubuntu, add the RemotiveLabs apt repository and install:

curl -fsSL https://packages.remotivelabs.com/apt-repo-signing-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/remotivelabs-apt.gpg
echo "deb [signed-by=/usr/share/keyrings/remotivelabs-apt.gpg] https://packages.remotivelabs.com remotivelabs-apt main" | sudo tee /etc/apt/sources.list.d/remotivelabs.list
sudo apt update
sudo apt install remotivelabs-cli

Upgrade:

sudo apt update
sudo apt install remotivelabs-cli

.rpm

On RHEL, Fedora, and SUSE, add the RemotiveLabs yum repository and install:

sudo tee /etc/yum.repos.d/remotivelabs.repo > /dev/null <<EOF
[remotivelabs]
name=Remotivelabs
baseurl=https://packages.remotivelabs.com/yum/remotivelabs-yum
enabled=1
repo_gpgcheck=0
gpgcheck=1
gpgkey=https://files.remotivelabs.com/remotivelabs-cli/remotivelabs-rpm-signing-key.gpg
EOF
sudo dnf install remotivelabs-cli

Upgrade:

sudo dnf upgrade --refresh remotivelabs-cli

On the first install, dnf asks you to confirm the import of the RemotiveLabs signing key. Its fingerprint is:

97AD 3C39 C481 B264 EECC  C165 67AB C659 C983 948B
info

Packages are GPG-signed from v0.23.5 onwards. To install an older (unsigned) version, pass --nogpgcheck to dnf.

.tar

A self-contained bundle that ships its own Python, available for x86_64 and aarch64. It requires glibc, so musl-based distributions such as Alpine aren't supported (there, pipx is the remaining option). This is the best option when you manage the installation yourself.

Install to ~/.local/opt and add a symlink to your PATH:

VERSION=$(curl -fsSL https://files.remotivelabs.com/remotivelabs-cli/latest/latest-version.txt)
ARCH=$(uname -m) # x86_64 or aarch64
curl -fsSL -O "https://files.remotivelabs.com/remotivelabs-cli/$VERSION/remotivelabs-cli-$VERSION-$ARCH.tar.gz"
mkdir -p ~/.local/opt
tar -xzf "remotivelabs-cli-$VERSION-$ARCH.tar.gz" -C ~/.local/opt
sudo ln -sf ~/.local/opt/remotivelabs-cli/remotive /usr/local/bin/remotive
remotive --version

Install with checksum verification against the published SHA-256 digest:

VERSION=$(curl -fsSL https://files.remotivelabs.com/remotivelabs-cli/latest/latest-version.txt)
ARCH=$(uname -m) # x86_64 or aarch64
curl -fsSL -O "https://files.remotivelabs.com/remotivelabs-cli/$VERSION/remotivelabs-cli-$VERSION-$ARCH.tar.gz"
curl -fsSL -O "https://files.remotivelabs.com/remotivelabs-cli/$VERSION/remotivelabs-cli-$VERSION-$ARCH.tar.gz.sha256"
sha256sum -c "remotivelabs-cli-$VERSION-$ARCH.tar.gz.sha256"
mkdir -p ~/.local/opt
tar -xzf "remotivelabs-cli-$VERSION-$ARCH.tar.gz" -C ~/.local/opt
sudo ln -sf ~/.local/opt/remotivelabs-cli/remotive /usr/local/bin/remotive
remotive --version

Proxy and certificates​

If you are behind a corporate proxy, set both of these environment variables:

export HTTPS_PROXY=http://proxy:port
export https_proxy=http://proxy:port

If you need to use custom CA certificates:

export REQUESTS_CA_BUNDLE=/path/to/cacerts
export GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/path/to/cacerts

Verify installation​

remotive --version
remotivelabs-cli 0.x.x (python 3.12.11; linux; native)

Get started​

To use RemotiveTopology or RemotiveCloud features you must have a RemotiveCloud account. If you don't have an account, it's created for you when you sign in. If your organization has an enterprise account, make sure to sign in with the correct email and login option.

Run remotive setup. It signs you in to RemotiveCloud, chooses a default organization and gets RemotiveTopology ready to use, for example by starting a trial if your organization has no subscription and downloading RemotiveTopology. It checks what's already in place and asks before it changes anything, so it's safe to run again.

Signing in uses a web browser. If there's no browser on the machine, such as a virtual machine or a docker container, use --no-browser. You still need a browser, just not on that machine.

Signing in opens a web browser on this machine.

remotive setup

Follow the sign-in in the browser until it says that you have signed in. Setup then continues in the terminal.

To keep your current account, default organization and container engine without being asked about them, run remotive setup --only-missing.

Troubleshooting​

If something doesn't work, run:

remotive doctor

It checks your installation, sign-in, container engine and, on Linux, RemotiveBus without changing anything, and says how to fix any problem it finds.

Example output on Linux
┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Component ┃ Check ┃ Status ┃ Version ┃ Details ┃
┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ RemotiveBus │ installation │ ✓ ok │ 0.11.3 │ provides docker/podman CAN, VCAN │
│ │ │ │ │ and VLAN networks (used by │
│ │ │ │ │ RemotiveTopology) │
│ │ service │ ✓ ok │ - │ daemon that creates the container │
│ │ │ │ │ CAN/VCAN/VLAN networks │
│ │ kernel module vcan │ ✓ ok │ - │ loaded - enables virtual CAN buses │
│ │ kernel module vxcan │ ✓ ok │ - │ loaded - enables tunneling CAN │
│ │ │ │ │ interfaces into containers │
│ │ kernel module can_gw │ ✓ ok │ - │ loaded - enables routing CAN │
│ │ │ │ │ frames between interfaces │
│ │ docker plugin socket │ - unknown (not required) │ - │ no permission to check │
│ │ │ │ │ /run/docker/plugins/remotivebus.s… │
│ │ │ │ │ (run doctor with sudo to verify) │
│ │ remotivebus group │ ✓ ok │ - │ lets rootless podman reach the │
│ │ │ │ │ RemotiveBus socket │
├──────────────────┼──────────────────────┼──────────────────────────┼─────────┼────────────────────────────────────┤
│ Container engine │ docker engine │ - missing (not required) │ - │ 'docker' is not in PATH │
│ │ podman engine │ ✓ ok │ 5.4.2 │ runs the RemotiveTopology │
│ │ │ │ │ containers │
│ │ podman compose │ ✓ ok │ 5.4.2 │ runs multi-container topologies │
├──────────────────┼──────────────────────┼──────────────────────────┼─────────┼────────────────────────────────────┤
│ Authentication │ credentials │ ✓ ok │ - │ credentials found for │
│ │ │ │ │ me@mycompany.com │
│ │ login │ ✓ ok │ - │ authenticated with the access │
│ │ │ │ │ token for │
│ │ │ │ │ me@mycompany.com │
│ │ organization │ ✓ ok │ - │ (my-company) My Company │
├──────────────────┼──────────────────────┼──────────────────────────┼─────────┼────────────────────────────────────┤
│ Wireshark │ wireshark │ ✓ ok │ - │ opens and views packet captures on │
│ │ │ │ │ this host │
│ │ dumpcap │ ✓ ok │ - │ streams remote captures to a │
│ │ │ │ │ desktop Wireshark │
│ │ wireshark group │ ✓ ok │ - │ lets your user capture packets │
│ │ │ │ │ without sudo │
└──────────────────┴──────────────────────┴──────────────────────────┴─────────┴────────────────────────────────────┘

If that doesn't solve the problem, contact RemotiveLabs support at support@remotivelabs.com. Include the output of remotive doctor.