Scott.Avatar.Generator.Tool
0.0.2-beta.2
This is a prerelease version of Scott.Avatar.Generator.Tool.
dotnet tool install --global Scott.Avatar.Generator.Tool --version 0.0.2-beta.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Scott.Avatar.Generator.Tool --version 0.0.2-beta.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Scott.Avatar.Generator.Tool&version=0.0.2-beta.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Scott.Avatar.Generator.Tool --version 0.0.2-beta.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Scott.Avatar.Generator.Tool
Command-line SVG avatar generator (ships the Personas set),
built on Scott.Avatar.Generator.
Install
dotnet tool install --global Scott.Avatar.Generator.Tool
Or build a standalone binary that needs no installed .NET runtime — pass a RID to get a self-contained, trimmed, single-file avatar executable:
dotnet publish -c Release -r linux-x64 # or win-x64, osx-arm64, ...
Usage
avatar # default avatar -> stdout
avatar --random # random avatar
avatar --seed 42 -o avatar.svg # reproducible random -> file
avatar --key alice@example.com # deterministic: same key -> same avatar
avatar --hair Mohawk --hair-color 5AC4D4 \
--eyes Wink --mouth Smile --size 256 # customised
avatar list # every style and colour
avatar --help
Options
| Option | Description |
|---|---|
-o, --output <file> |
Write SVG to a file (default: stdout) |
--size <px> |
Output width/height in pixels (default: 512) |
--random |
Randomize, then apply any overrides |
--seed <int> |
Seed the randomizer (implies --random) |
--key <string> |
Deterministic avatar from a key (e.g. username/e-mail); same key → same avatar |
--skin, --skin-color |
Skin style / colour |
--hair, --hair-color |
Hair (or hat) style / colour |
--facial-hair, --facial-hair-color |
Facial-hair style / colour |
--body, --body-color |
Body style / colour |
--eyes, --mouth, --nose |
Eye / mouth / nose style |
--bg-color |
Background colour |
Colours are hex without a leading #, e.g. --hair-color 5AC4D4.
Run avatar list for valid style and colour values.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.2-beta.2 | 82 | 6/11/2026 |
| 0.0.2-beta.1 | 69 | 6/6/2026 |