🖥️ atomos-cli Documentation
atomos-cli is the command-line interface (CLI) for installing, configuring, and managing AtomOS and its services. It supports installation, updates, service management, vault creation, network bridge setup, module installation, and developer utilities for AtomOS environments on AlmaLinux, Ubuntu, and Debian systems.
Requirements
- Root privileges are required for most operations.
- Supported distros: AlmaLinux, RockyLinux, Ubuntu, Debian.
- Minimum: 2 CPU cores, 2GB RAM.
- Internet access for installation and updates.
Installation of atomos-cli
The recommended way to install the cli is to use the provided get-atomos.sh script:
curl -fsSL https://repo.elemento.cloud/get-atomos.sh | sudo bash
This will download the latest atomos-cli CLI to /usr/bin/atomos-cli, make it executable, and set up a monthly cron job to check for updates. After installation, you can use the atomos-cli command from anywhere in your shell.
Usage
sudo atomos-cli [OPTIONS]
Main Options
Installation
-v, --versionShow current AtomOS version-i, --install SERVICE TYPEInstall AtomOS-vs, --verify-installVerify AtomOS installation-m, --modulesInstall AtomOS modules-u, --updateUpdate AtomOS services-c, --checkCheck if AtomOS is installed-rl, --logsShow installation logs-U, --uninstallUninstall AtomOS--remove-modulesUninstall AtomOS modules
License Utilities
-l, --licenseCheck license file
Services Utilities
-s, --statusCheck if all services are up and running-j, --journal SERVICE TIMEShow logs of a service-r, --resetReset Storage service-hr, --hard-restartHard restart all AtomOS services--start SERVICEStart an AtomOS service--stop SERVICEStop an AtomOS service--restart SERVICERestart an AtomOS service-sa, --start-allStart all AtomOS services-ta, --stop-allStop all AtomOS services-ra, --restart-allRestart all AtomOS services
Storage Utilities
--vault-creatorCreate new AtomOS Vaults--vault-editorModify vaults parameters--volume-infoShow information about volumes and vaults
Network Utilities
--bridge-setupSetup a bridge with an interface--delete-bridgeDelete a bridge-vn, --verify-networkVerify network default routes-crt, --generate-certGenerate a new TLS certificate--show-fingerprintShow the fingerprint of the TLS certificate--get-certificate HOST SERVICERetrieve and pin TLS certificate of remote AtomOS host--set-cert-verifyEnable/disable TLS certificate verification--fw-infoShow the actual configuration of FirewallD
General Utilities
-dr, --dry-runDry-run commands--checkupdateCheck for atomos-cli updates-ga, --group-addAdd users to atomosgui groups-gd, --group-delRemove users from atomosgui groups--healthcheckPerform a healthcheck on the host resources--pci-listList PCI devices with loaded drivers-I, --infoGet info about host/AtomOS"--create-allow-listCreate allow list--create-ban-listCreate ban list--add-allow-listAdd client uid to allow list--add-ban-listAdd client uid to ban list--remove-allow-listRemove client uid to allow list--remove-ban-listRemove client uid to ban list--disable-allow-listStop enforcing allow list--disable-ban-listStop enforcing ban list--resume-allow-listResume enforcing allow list--resume-ban-listResume enforcing ban list
How to use atomos-cli
Example Installation
-
Install AtomOS (RHEL/AlmaLinux):
sudo atomos-cli --install compute on-prem sudo atomos-cli --install storage cloud sudo atomos-cli --install full on-prem -
Install AtomOS (Ubuntu/Debian):
sudo atomos-cli --install storage on-premCompute/Full packages are not available for Ubuntu/Debian.
CLI Usage Examples
Below are examples for all main atomos-cli commands and options:
-
Update AtomOS:
sudo atomos-cli --update -
Check if AtomOS is installed:
[root@localhost ~]# atomos-cli --check ══ AtomOS Installation Check ^ AtomOS is installed. -
Show current AtomOS version:
[root@localhost ~]# atomos-cli --version ══ AtomOS Package Versions AtomOS Common: 0.9.0 AtomOS Compute: 0.9.0 AtomOS Storage: 0.9.0 AtomOS GUI: 0.9.0 -
Show host and AtomOS info (system requirements, versions, distro):
[root@localhost ~]# atomos-cli --info ╔════════════════════════════════════════════════════════════════════════════════╗ ║ Host / AtomOS Info ║ ╚════════════════════════════════════════════════════════════════════════════════╝ ══ System Requirements CPU cores: 8 (OK) RAM: 9 GB (OK) ^ System meets minimum requirements. ══ AtomOS Package Versions AtomOS Common: 0.9.0 AtomOS Compute: 0.9.0 AtomOS Storage: 0.9.0 AtomOS GUI: 0.9.0 ══ Runtime Libvirt version: 10.10.0 Libvirt version: 10.10.0 Distribution: alma -
Uninstall AtomOS (requires confirmation):
sudo atomos-cli --uninstall --force
Vault Utilities
Create or manage vaults:
sudo atomos-cli --vault-creator
The requested parameters are:
| Parameter | Description |
|---|---|
| max-volumes | total number of volumes that a vault can house |
| max-volume-size | max size (in Byte, Megabyte, Gigabyte, Terabyte) that a single volume can be |
| max-total-size | max size (in Byte, Megabyte, Gigabyte, Terabyte) that the full vault can be |
| bench-tier | how precise we want the benchmarks metrics in this vault |
| ceph | if the vault reside on ceph or not |
what is the 'bench-tier`?
the paramenter bench-tier enables a peculiar feature that involves a benchmark on the virtual of physical device were the vault reside, so when creating a volume you will be able to specify a minimum (or maximum) performance cap (read speed, write speed, max iops, ecc...)
Make sure the restart the storage service after a new vault is created to start using it
Edit a vault
sudo atomos-cli --vault-editor
The parameter we can change are:
| Parameter | Description |
|---|---|
| max-volumes | total number of volumes that a vault can house |
| max-volume-size | max size (in Byte, Megabyte, Gigabyte, Terabyte) that a single volume can be |
| max-total-size | max size (in Byte, Megabyte, Gigabyte, Terabyte) that the full vault can be |
| bench-tier | how precise we want the benchmarks metrics in this vault |
| ceph | if the vault reside on ceph or not |
All this parameters are specified in the settings file of the vault, you can find it at
/mnt/<vault-name>/settings.json
Make sure the restart the storage service after a change of parameters
Visualize vault and volumes data
Using the command:
sudo atomos-cli --volume-info
We can list all the vault (with all the volumes it contains):
╔════════════════════════════════════════════════════════════════════════════════╗
║ Vault & Volume Information ║
╚════════════════════════════════════════════════════════════════════════════════╝
────────────────────────────────────────────────────────────────
Vault: elemento-vault
────────────────────────────────────────────────────────────────
UUID: c41b2ea9e5dc47f892376722d6017deb
Kind: lvm
Device: root
Hardware Device: hdd
Max Volumes: 10
Max Volume Size: 50G
Max Total Size: 200G
File System: xfs
Ceph: false
Bench Tier: no
Bench Read IOPS: —
Bench Read BW: — MB/s
Bench Write IOPS:—
Bench Write BW: — MB/s
Additional: {
"lv_size": "<26.00g",
"members": [
"/dev/vda2"
]
}
────────────────────────────────────────────────────────────────
Volume: vid.666d3d4a762e4fddb664c828bc098a10.elimg
Creator ID: 71191499816a5601a822ad69a99a5208
Name: Nickel-80
Private: false
Bootable: true
Readonly: true
Shareable: false
Clonable: false
Algorithm: none
Format: iso
Bus: sata
Cloudinit: false
Ceph: false
Overlay: false
Cache:
Virtual Size: 3055239168
Size on Disk: 3055239168
Format: raw
Last Retrieved: 2026-03-11 10:59:09.61
Exported: false
Volume: vid.f6698c8ba04149d59c08664ee04edb41.elimg
Creator ID: 71191499816a5601a822ad69a99a5208
Name: mint_boot
Private: true
Bootable: false
Readonly: false
Shareable: false
Clonable: false
Algorithm: none
Format: qcow2
Bus: virtio
Cloudinit: false
Ceph: false
Overlay: false
Cache:
Virtual Size: 16000000000
Size on Disk: 196848
Format: qcow2
Last Retrieved: 2026-03-11 10:59:13.27
Partitions:
- Type: filesystem
FS: unknown
Name: -
Size: 16000000000
Exported: true
────────────────────────────────────────────────────────────────
Vault: test
────────────────────────────────────────────────────────────────
UUID: f3d206daa8cd40718196a0aaf4205c12
Kind: lvm
Device: root
Hardware Device: hdd
Max Volumes: 16
Max Volume Size: 100G
Max Total Size: 1T
File System: xfs
Ceph: false
Bench Tier: no
Bench Read IOPS: —
Bench Read BW: — MB/s
Bench Write IOPS:—
Bench Write BW: — MB/s
Additional: {
"lv_size": "<26.00g",
"members": [
"/dev/vda2"
]
}
────────────────────────────────────────────────────────────────
Volume: vid.bf955e6f2e2c46898c44fe77ef79f2fb.elimg
Creator ID: 4ebd0208-8328-5d69-8c44-ec50939c0967
Name: test
Private: true
Bootable: true
Readonly: false
Shareable: false
Clonable: false
Algorithm: none
Format: qcow2
Bus: virtio
Cloudinit: false
Ceph: false
Overlay: false
Cache:
Virtual Size: null
Size on Disk: null
Format: null
Last Retrieved: null
Exported: false
Service Management
-
Check status of all services:
sudo atomos-cli --status -
Reset services:
sudo atomos-cli --reset -
Hard restart all AtomOS services (requires confirmation):
sudo atomos-cli --hard-restart -
Start/Stop/Restart a service (requires confirmation):
sudo atomos-cli --start compute sudo atomos-cli --stop storage sudo atomos-cli --restart network -
Run a service in terminal:
sudo atomos-cli --run compute -
Show service logs:
sudo atomos-cli --journal compute "2025-07-21 10:00:00" sudo atomos-cli -j storage --live
Modules
Module Installation
atomos-cli can help you to install and manage our favourites tools.
After AtomOS installation, you will be prompted to select and install extra modules from the official repository
To repeat this step:
sudo atomos-cli --modules
In this moment we give the modules for:
Those modules follows the official guidelines of the mantainers, we wrapped them in simple and automatic script to simplify the installation for the end user.
In the image you can see the menu of the
--modules, it automatically detect on which distro you are and propose the list of correct modules
You can also remove modules with the command:
sudo atomos-cli --remove-modules
Network options
Bridge Setup
Bridge setup is performed automatically during installation
You can also run it manually:
sudo atomos-cli --bridge-setup
In this example we created the default bridge using
enp1s0as slave interface
This will prompt for network interface selection and create a bridge using nmcli. If a bridge named br0 already exists, you will be prompted to choose a different name.
If you want to delete a bridge the command is:
sudo atomos-cli --delete-bridge
This will ask the user which bridge you want to delete and also restores the interfaces used as slaves
Generate HTTPS Certificates
Generation of HTTPS certs is performed during installation, but you can also update them or regenerate them with the cli utility:
sudo atomos-cli -crt
In this example you can see the creation of a test certificate
The CLI also has the capabilites to show the cert fingerprint:
sudo atomos-cli --show-fingerprint
Show Firewall Actual Configuration
with the cli utility:
sudo atomos-cli --fw-info
atomos-cli will list all the zones and rules that firewalld (the predefined AtomOS firewall) is using at the moment.
Useful additions
Manager local user and groups
This phase is NOT automatic and necessary to get the full functionalities of AtomOS-Gui
With the utility command:
sudo atomos-cli --group-add
This output shows that the needed groups are already defined, also we are adding a new user (previously created via
useradd) to the groupcompute, this meana that when a user will log withelemento-userand his password then will be able to manage compute resources on the host machine
To remove users from groups, use:
sudo atomos-cli --group-del
List pci devices
Using the utility:
sudo atomos-cli --pci-list
You can have a total and complete panoramic of all the pci devices installed on your host, by default it show the pci line of the device and the driver that is actually using
This can be particularly useful when doing GPU-Passthourgh or general pci passtrough
Host Healthcheck
Using the utility:
sudo atomos-cli --healthcheck
The user can easily understand how much the host is being used, fullness of partitions and ram saturation
Allow list and Ban list management
To create the ban list / allow list, use the command:
sudo atomos-cli --create-allow-list
sudo atomos-cli --create-ban-list
This will create the files and start enforcing the policies:
- a blank whitelist will keep out anybody
- a blank banlist will not ban anybody
To add client uid to the allow list / ban list, use the commands:
sudo atomos-cli --add-allow-list
sudo atomos-cli --add-ban-list
This will ask for the client uid of the account you want to permit/ban from the machine
To remove client uid to the allow list / ban list, use the commands:
sudo atomos-cli --remove-allow-list
sudo atomos-cli --remove-ban-list
This will ask which client uid to remove from the allow list / ban list
To disable the allow list / ban list
sudo atomos-cli --disable-allow-list
sudo atomos-cli --disable-ban-list
This will pause the enforcement of the ban list or allow list
To resume the allow list / ban list
sudo atomos-cli --resume-allow-list
sudo atomos-cli --resume-ban-list
This will resume the enforcement of a paused ban list / allow list
Notes:
- adding the
HMACtoe the ban list will result in a lost of all access for the local users (local administrator account)- all the addition to the allow list or ban list is dinamically enforced
Other
-
Check for atomos-cli updates:
sudo atomos-cli --checkupdate -
Show help message:
sudo atomos-cli --help -
Verify network configuration;
sudo atomos-cli --verify-networksample output:
[root@localhost ~]# atomos-cli --verify-network ══ Network Routes ^ Default IPv4 routes: default via 172.16.24.1 dev enp7s0 proto dhcp src 172.16.24.55 metric 103 default via 172.16.24.1 dev br0 proto dhcp src 172.16.24.197 metric 425 ! No default IPv6 route found.
Notes
- Most commands require root privileges.
- Use
--forcefor invasive actions (uninstall, hard-restart, start/stop/restart services). - For more information, visit https://elemento.cloud
© 2019-2026 Elemento srl.





No comments to display
No comments to display