How to know which version of clearlinux i am running via terminal?

What is the command?

Use this command:
swupd info
Distribution: Clear Linux OS
Installed version: 33040
Version URL: https://cdn.download.clearlinux.org/update
Content URL: https://cdn.download.clearlinux.org/update

And command
sudo swupd check-update

Answer with your log-in password
If there are updates available use command

sudo swupd update

You can find the most common commands with

swupd --help

to update

1 Like

You can also type
cat /etc/os-release
and look at the VERSION_ID

Great question. Please use our docs! Our team has a great doc on swupd:
https://docs.01.org/clearlinux/latest/guides/clear/swupd.html#quick-reference

We also recently added support for manpages, so you don’t have to squint in your $EDITOR. :slight_smile:
https://docs.01.org/clearlinux/latest/reference/manpages/swupd.1.html

2 Likes