cuidgen.tool.win-arm64 5.1.0

dotnet add package cuidgen.tool.win-arm64 --version 5.1.0
                    
NuGet\Install-Package cuidgen.tool.win-arm64 -Version 5.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="cuidgen.tool.win-arm64" Version="5.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="cuidgen.tool.win-arm64" Version="5.1.0" />
                    
Directory.Packages.props
<PackageReference Include="cuidgen.tool.win-arm64" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add cuidgen.tool.win-arm64 --version 5.1.0
                    
#r "nuget: cuidgen.tool.win-arm64, 5.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package cuidgen.tool.win-arm64@5.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=cuidgen.tool.win-arm64&version=5.1.0
                    
Install as a Cake Addin
#tool nuget:?package=cuidgen.tool.win-arm64&version=5.1.0
                    
Install as a Cake Tool

cuidgen

GitHub Workflow Status Sonar Quality Gate Sonar Coverage

Nuget Downloads GitHub

A command-line utility based on cuid.net for generating collision-resistant ids. You can read more about CUIDs from the official project website.


Installation

.NET Tool

dotnet tool install --global cuidgen.tool

If you prefer, cuidgen is also available as a portable binary for Windows, Mac and Linux for download from the Releases page.

Usage

cuidgen is designed to be as simple as possible and is perfect for usage in scripting.

cuidgen by default generates CUIDv2 values with a length of 24 characters.

Examples

# Generate a default CUIDv2 (length 24)
$ cuidgen
ukzsdmvhjyhwb9mkguvwegbv

# Generate a CUIDv2 with a custom length
$ cuidgen -l 10
qrlkdu9vri

# Generate a CUIDv1
$ cuidgen -g 1
cmjmvcts200016437xe4i0jfu

# Generate multiple CUIDs at once
$ cuidgen -n 5
z1dimahkx6si6mzfumzz4lpr
vy0467zugnmo87kjdpao4r8d
qh410ftu8mb21iw8aqp5l600
czlgawafm116s2n4eyaqp8r3
g13maok93mbgdqruv7mr3djl

Command Arguments

Argument Description Default Valid Range
-g, --generation Generation of CUID to generate (1 or 2) 2 1-2
-l, --length Desired length of the CUID (only applies to CUIDv2) 24 4-32
-n, --number Number of CUIDs to generate 1 1-1000
-v, --version Display version information - -
-h, --help Display help information - -
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.1.0 58 9/19/2026
5.0.0 185 12/26/2025
5.0.0-beta.1 124 12/26/2025