IMVEEDev Portal

Installation

Get Enrollment Token

Before installing the agent, you need an Enrollment Token from SOCSuite.

  1. Open SOCSuite
  2. Navigate to: Orbit → Agents → New Agent
  3. Copy the token — it is only shown once

:::warn [Token is single-use] The enrollment token is worthless after successful registration. After installation it is no longer needed and cannot be reused. :::


One-Liner Installation

The recommended installation method is the remote installer:

curl -fsSL https://<DOWNLOADS-DOMAIN>/satellite/latest/remote-install.sh \
  | sudo IMVEE_ENROLLMENT_TOKEN="<TOKEN>" bash -s -- \
      --server=https://<API-URL> --force

Replace the placeholders with the values of your SOCSuite environment (→ credentials JSON / environment data of your demo instance):

PlaceholderMeaningExample (IMVEE dev)
<DOWNLOADS-DOMAIN>Download host for agent binariesdownloads.dev.imvee.de
<API-URL>SOCSuite backend (apex URL)socsuite.dev.imvee.de
<TOKEN>Enrollment token (see above)—

:::warn [Self-hosted: --server is required] Without --server the agent enrolls against the IMVEE dev backend (script default) — for self-hosted installations always set --server=https://<API-URL>. For the download host you can alternatively use the DOWNLOAD_BASE_URL env (default: https://downloads.dev.imvee.de/satellite). :::

:::info [Adjust version] Replace latest in the URL with a specific version such as v0.4.1 to pin the agent version. :::


Windows Installation

The Windows installer downloads the binary, verifies the SHA-256 hash, installs the agent, persists the configuration and starts the service — everything in a single call (PowerShell as Administrator):

# 1. Download and run the installer
for ($i = 1; $i -le 3; $i++) {
  try {
    Invoke-WebRequest -Uri "https://<DOWNLOADS-DOMAIN>/satellite/latest/install-windows.ps1" `
      -OutFile "$env:TEMP\install-windows.ps1" -TimeoutSec 120 -UseBasicParsing
    break
  } catch {
    if ($i -eq 3) { throw }
    Write-Host "Download attempt $i failed, retrying in 5 s ..."; Start-Sleep -Seconds 5
  }
}
powershell -ExecutionPolicy Bypass -File "$env:TEMP\install-windows.ps1" `
  -Token "<TOKEN>" `
  -Server "https://<API-URL>"          # SOCSuite base URL without /api/v1
ParameterDefaultDescription
-Token—Enrollment token (required, alternatively via IMVEE_ENROLLMENT_TOKEN)
-Serverhttps://socsuite.dev.imvee.deSOCSuite base URL (the script appends /api/v1)
-DownloadBasehttps://downloads.dev.imvee.deDownloads server (for demos: https://<TS>.demo.imvee.de)
-VersionlatestVersion pin, e.g. v0.4.1
-ForcefalseReinstall over an existing installation
-SkipStartfalseInstall without starting the service

Exit code 2 means: installed, but the service is not running yet — reboot now (the service starts automatically after the reboot and enrolls with the backend).

:::warning [Env-Scope Pitfall (Windows Service)] The service process runs as LocalSystem and sees neither $env: (session) nor setx (user scope).

  • The installer persists IMVEE_API_KEY/API_URL automatically via install-service into C:\ProgramData\IMVEE-Satellite\agent.env (DEV-1086).
  • Manual installations without the installer need setx /M (machine scope) + reboot (SCM env snapshot), otherwise the agent aborts at first boot.
  • The first-boot gate expects the enrollment token in IMVEE_API_KEY (not IMVEE_ENROLLMENT_TOKEN — that one is read only in the enrollment step afterwards). :::

Manual Installation

# 1. Download the binary
Invoke-WebRequest -Uri "https://<DOWNLOADS-DOMAIN>/satellite/latest/imvee-satellite-agent-windows-amd64.exe" -OutFile "imvee-satellite.exe"

# 2. Set token + backend URL and install the service
#    (install-service persists both to C:\ProgramData\IMVEE-Satellite\agent.env
#    — the service process does NOT inherit the shell env otherwise, DEV-1086)
$env:IMVEE_API_KEY = "<TOKEN>"
$env:API_URL = "https://<API-URL>/api/v1"
.\imvee-satellite.exe install-service

# 3. Start the service
Start-Service IMVEESatellite

Replace <TOKEN> with the previously copied enrollment token and <DOWNLOADS-DOMAIN>/<API-URL> with your values (placeholder table above). The agent loads IMVEE_API_KEY and API_URL from C:\ProgramData\IMVEE-Satellite\agent.env at service start (the post-enrollment key is stored next to it in agent.key; remove-service deletes both again).

:::info [Verify integrity] The SHA-256 hash of the binary can be checked against checksums.txt in the same directory:

(Get-FileHash imvee-satellite.exe -Algorithm SHA256).Hash

:::


Installation Options

OptionDefaultDescription
--token=<TOKEN>—Enrollment token (required, alternatively via IMVEE_ENROLLMENT_TOKEN)
--server=<URL>https://socsuite.dev.imvee.de (dev default)SOCSuite backend URL (required for self-hosted, default = IMVEE dev)
DOWNLOAD_BASE_URL (env)https://downloads.dev.imvee.de/satellite (dev default)Base URL for the binary download (required for self-hosted)
--version=<VER>latestInstall a specific agent version
--skip-startfalseDon't start the agent after installation
--forcefalseOverwrite existing installation

What Happens During Installation

1. remote-install.sh is downloaded and executed
2. Correct binary for the current platform is determined
   (linux-amd64 / linux-arm64 / darwin-amd64 / darwin-arm64 / darwin-universal)
3. Binary is downloaded from the download host (env `DOWNLOAD_BASE_URL`, default IMVEE dev)
4. Agent is registered as a system service
5. Enrollment:
     POST /api/v1/ingest/enroll
       Body: { enrollment_token, hostname, os_name, os_version, agent_version }
       Response: { agent_id, api_key }
6. agent_id  → /var/lib/imvee-satellite/agent.id  (0644)
   api_key   → /var/lib/imvee-satellite/agent.key  (0600, AES-256-GCM)
7. Agent is started (unless --skip-start is set)

:::info [Idempotent Enrollment] If an agent.id file already exists, the agent skips enrollment and uses the existing credentials — no new device is created in SOCSuite. To re-register an agent, agent.id and agent.key must be deleted first (or use --force with the installer). :::


Verification

After installation, check the agent status:

# Systemd (Linux)
sudo systemctl status imvee-satellite

# Process check (all platforms)
ps aux | grep imvee-satellite

The agent will appear shortly in SOCSuite under Orbit → Agents with status online.


Uninstallation

sudo /var/lib/imvee-satellite/uninstall.sh

The uninstall script stops the service, removes binaries and cleans up the system service registration.

:::info The file /var/lib/imvee-satellite/agent.id can be manually deleted after uninstallation to mark the agent entry in SOCSuite as offline. Deleting the asset from SOCSuite is done separately in the UI. :::

On this page