Skip to content
/ randgen Public

RandGen is a simple CLI tool to generate random files of a given size.

License

Notifications You must be signed in to change notification settings

shibme/randgen

Repository files navigation

RandGen

Go Reference Go Report Card Release Status License

RandGen is a simple CLI tool to generate random data of a given size.

CLI Usage

Download the latest binary from the releases page and add it to your path.

Homebrew

RandGen can be installed with brew using the following command on macOS

brew install shibme/tap/randgen

Install Script

Install Latest Version

With Shell (MacOs/Linux):

curl -fsSL https://dev.shib.me/randgen/install.sh | sh

With PowerShell (Windows):

irm https://dev.shib.me/randgen/install.ps1 | iex

Install Specific Version

With Shell (MacOs/Linux):

curl -fsSL https://dev.shib.me/randgen/install.sh | sh -s v1.1.0

With PowerShell (Windows):

$v="1.1.0"; irm https://dev.shib.me/randgen/install.ps1 | iex

Docker

You can also run RandGen without installing, using Docker:

docker run --rm -v $PWD:/workspace -it ghcr.io/shibme/randgen help