Package: elemento-cli
Elemento command line overviewtags:elementoCLItechCTOtutorials<style>
    h1, h2, h3, h4, h5, h6, h7, p, a {
        font-family: Arial, Helvetica, sans-serif;
    }
</style>Elemento command line overviewAuthenticationBefore using the Elemento CLI you would need toauthenticate!elemento auth loginDo you have anaccount? No,create yours hereForgotyour password?Recover it hereelemento auth logoutInfo about daemonselemento infowill tell you if the daemons are running properly.It is possible to get the client daemons fromMachttps://repo.elemento.cloud/app/Elemento_daemons.dmgWindowshttps://repo.elemento.cloud/app/Elemento_daemons.zipLinuxhttps://github.com/Elemento-Modular-Cloud/electrosAccount ManagementTo use AtomOS you will need a License:buy yours here!From the CLI you canlistyour licenseselemento account list_licensesoractivateone. AtomOS licenses become active and ready when you activate them, not when you buy them.elemento account activate_license --keythe CLI will download your license and you'll find aatomos.licensefile:keep it in a safe place!copy it in/etc/elemento/atomos.licensepath of your server (one license per server)restart theelementolicensingservicesystemctl restart elementolicensingVolumesYou canlistyour volumes.elemento volume list:::spoiler Pro Tip
Volumes will be searched in/mnt/elemento-vault, mount here your volumes!
:::If you have not any volume you can ask if there is any server ready to create one for youelemento volume cancreate --size 1and thencreateor evendestroyyour volumeselemento volume create --size 1(Read ourtech packfor a complete list of volume specification)elemento volume destroy fffffffffffffffffffffffffffffffffVirtual MachinesYou can manage your own volumes ordownloada standardisoimageelemento vm getiso:::spoilerisofiles
This command will download a file calles {os_flavour}.iso in /tmp and you can run vmw from this if using the Live image!
:::then you can create your machineelemento vm create --spec-json /path/to/request.json --volumes-json /path/to/volumes.json(Read ourtech packfor a complete list of volume specification)TemplatesList some machines templateselemento vm gettemplatesListyour vmselemento vm listyou will notice a SW and a HW link in the formhttps://localhost:8443/#/clients/...these will open a screen to manage your machines directly form your browser.
In order to use the software link you need to enable VNC (on Linux) or RDP (on Windows) with an accountelemento.ordestroythemelemento vm destroy fffffffffffffffffffffffffffffffffCommunity EditionIf you are interacting with servers running theCommunity Editionthey will not be automacically discovered.:::success
Before running the daemons put your server IP in$HOME/.elemento/hosts:::AtomOS - server sideServicesResource matcher serversudo systemctl status matcherserverStorage serversudo systemctl status storageserverElemento pathsThestorageserversearches Elemento volumes (.elimg) in/mnt.Add a new drivemount the drive in/mntadd asettings.jsonin the new path specifing the number of VM volumes and their total size (in GB) as follows{
    "max-volumes": 1,
    "max-size": 1000
}Example of configuration|/mnt
|/mnt/elemento-vault
|/mnt/elemento-vault/settings.jsonLicensingFirst of all grab yourlicense, activate it with the command lineelemento account activate_license --keythe CLI will download your license and you'll find aatomos.licensefile:keep it in a safe place!copy it in/etc/elemento/atomos.licensepath of your server (one license per server)restart theelementolicensingservicesystemctl restart elementolicensingCheck the status of your servicesudo systemctl status elementolicensingDoubts? Need help?Open anissuein ourhelpcenter