random for random
Generate a random value.
Signature
> random {flags}
Input/output types:
| input | output |
|---|---|
| nothing | string |
Notes
You must use one of the following subcommands. Using this command as-is will only produce this help message.
Subcommands:
| name | description | type |
|---|---|---|
random binary |
Generate random bytes. | built-in |
random bool |
Generate a random boolean value. | built-in |
random chars |
Generate random chars uniformly distributed over ASCII letters and numbers: a-z, A-Z and 0-9. | built-in |
random float |
Generate a random float within a range [min..max]. | built-in |
random int |
Generate a random integer [min..max]. | built-in |
random uuid |
Generate a random uuid string of the specified version. | built-in |
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/random.html