Installation
Get Enrollment Token
Before installing the agent, you need an Enrollment Token from SOCSuite.
- Open SOCSuite
- Navigate to: Orbit → Agents → New Agent
- 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> --forceReplace the placeholders with the values of your SOCSuite environment (→ credentials JSON / environment data of your demo instance):
| Placeholder | Meaning | Example (IMVEE dev) |
|---|---|---|
<DOWNLOADS-DOMAIN> | Download host for agent binaries | downloads.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
Zero-Touch Installer (recommended, DEV-1092)
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| Parameter | Default | Description |
|---|---|---|
-Token | — | Enrollment token (required, alternatively via IMVEE_ENROLLMENT_TOKEN) |
-Server | https://socsuite.dev.imvee.de | SOCSuite base URL (the script appends /api/v1) |
-DownloadBase | https://downloads.dev.imvee.de | Downloads server (for demos: https://<TS>.demo.imvee.de) |
-Version | latest | Version pin, e.g. v0.4.1 |
-Force | false | Reinstall over an existing installation |
-SkipStart | false | Install 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_URLautomatically viainstall-serviceintoC:\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(notIMVEE_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 IMVEESatelliteReplace <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
| Option | Default | Description |
|---|---|---|
--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> | latest | Install a specific agent version |
--skip-start | false | Don't start the agent after installation |
--force | false | Overwrite 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-satelliteThe agent will appear shortly in SOCSuite under Orbit → Agents with status online.
Uninstallation
sudo /var/lib/imvee-satellite/uninstall.shThe 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.
:::