Command line tool to generate a random UUID.
go install github.com/timwmillard/uuid@latest
Generate a random UUID:
uuid
Generate a nil UUID:
uuid -nil
Generate a version 7 UUID:
uuid -v7
Default will generate a version 4 UUID.
Use the -n
flag to generate multiple UUID's.
uuid -n=5
uuidgen
generates UUID's in capital letters (personal preference)uuid
is shorter to type (I know I could create an alias but this is funner).- Can generate different versions of uuid.
- Can generate mutiple UUID's.