uuidgen

Generate unique identifiers (UUIDs). See also uuid. More information: <https://manned.org/uuidgen>.

Install

All systems
curl cmd.cat/uuidgen.sh
Debian Debian
apt-get install uuid-runtime
Ubuntu
apt-get install uuid-runtime
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install uuid-runtime
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install uuid-runtime
OS X
brew install e2fsprogs
Raspbian
apt-get install uuid-runtime
Docker
docker run cmd.cat/uuidgen uuidgen powered by Commando

Generate unique identifiers (UUIDs). See also uuid. More information: <https://manned.org/uuidgen>.

  • Create a random UUIDv4:
    uuidgen --random
  • Create a UUIDv1 based on the current time:
    uuidgen --time
  • Create a UUIDv5 of the name with a specified namespace prefix:
    uuidgen --sha1 --namespace @dns|@url|@oid|@x500 --name object_name

© tl;dr; authors and contributors