---
title: "melange keygen"
slug: melange_keygen
url: /docs/md/melange_keygen.md
draft: false
images: []
type: "article"
toc: true
---
## melange keygen

Generate a key for package signing

### Synopsis

Generate a key for package signing.

```
melange keygen [flags]
```

### Examples

```
  melange keygen [key.rsa]
```

### Options

```
  -h, --help           help for keygen
      --key-size int   the size of the prime to calculate (in bits) (default 4096)
```

### Options inherited from parent commands

```
      --log-level string   log level (e.g. debug, info, warn, error) (default "INFO")
```

### SEE ALSO

* [melange](/docs/md/melange.md)	 - 

