Skip to main content

🖥️ 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

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, --version Show current AtomOS version
  • -i, --install SERVICE TYPE Install AtomOS
  • -vs, --verify-install Verify AtomOS installation
  • -m, --modules Install AtomOS modules
  • -u, --update Update AtomOS services
  • -c, --check Check if AtomOS is installed
  • -rl, --logs Show installation logs
  • -U, --uninstall Uninstall AtomOS
  • --remove-modules Uninstall AtomOS modules

License Utilities

  • -l, --license Check license file

Services Utilities

  • -s, --status Check if all services are up and running
  • -j, --journal SERVICE TIME Show logs of a service
  • -r, --reset Reset Storage service
  • -hr, --hard-restart Hard restart all AtomOS services
  • --start SERVICE Start an AtomOS service
  • --stop SERVICE Stop an AtomOS service
  • --restart SERVICE Restart an AtomOS service
  • -sa, --start-all Start all AtomOS services
  • -ta, --stop-all Stop all AtomOS services
  • -ra, --restart-all Restart all AtomOS services

Storage Utilities

  • --vault-creator Create new AtomOS Vaults
  • --vault-editor Modify vaults parameters
  • --volume-info Show information about volumes and vaults

Network Utilities

  • --bridge-setup Setup a bridge with an interface
  • --delete-bridge Delete a bridge
  • -vn, --verify-network Verify network default routes
  • -crt, --generate-cert Generate a new TLS certificate
  • --show-fingerprint Show the fingerprint of the TLS certificate
  • --get-certificate HOST SERVICE Retrieve and pin TLS certificate of remote AtomOS host
  • --set-cert-verify Enable/disable TLS certificate verification
  • --fw-info Show the actual configuration of FirewallD

General Utilities

  • -dr, --dry-run Dry-run commands
  • --checkupdate Check for atomos-cli updates
  • -ga, --group-add Add users to atomosgui groups
  • -gd, --group-del Remove users from atomosgui groups
  • --healthcheck Perform a healthcheck on the host resources
  • --pci-list List PCI devices with loaded drivers
  • -I, --info Get info about host/AtomOS"
  • --create-allow-list Create allow list
  • --create-ban-list Create ban list
  • --add-allow-list Add client uid to allow list
  • --add-ban-list Add client uid to ban list
  • --remove-allow-list Remove client uid to allow list
  • --remove-ban-list Remove client uid to ban list
  • --disable-allow-list Stop enforcing allow list
  • --disable-ban-list Stop enforcing ban list
  • --resume-allow-list Resume enforcing allow list
  • --resume-ban-list Resume 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-prem
    

    Compute/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...)

asciicast

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

asciicast

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
    

    Screenshot_2026-03-16_13-08-25.png

  • 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.

Screenshot_2026-03-16_13-09-52.png

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

asciicast

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

Screenshot_2026-03-16_13-11-11.png

In this example we created the default bridge using enp1s0 as 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.

asciicast

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

asciicast


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

Screenshot_2026-03-16_10-39-03.png

In this example you can see the creation of a test certificate

asciicast

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.

asciicast


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

Screenshot_2026-03-16_13-20-24.png

This output shows that the needed groups are already defined, also we are adding a new user (previously created via useradd) to the group compute, this meana that when a user will log with elemento-user and his password then will be able to manage compute resources on the host machine

asciicast

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

asciicast

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

asciicast


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 HMAC toe 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-network
    

    sample 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 --force for invasive actions (uninstall, hard-restart, start/stop/restart services).
  • For more information, visit https://elemento.cloud

© 2019-2026 Elemento srl.