# info > openssl-version

---
type: CommandReference
command: openssl-version
mode: man
section: 1
source: man-pages
---

## Quick Reference

- `openssl version` — print current OpenSSL version
- `openssl version -a` — all information (equivalent to all flags)
- `openssl version -v` — current version
- `openssl version -b` — build date
- `openssl version -f` — compilation flags
- `openssl version -p` — platform setting
- `openssl version -d` — OPENSSLDIR setting
- `openssl version -e` — ENGINESDIR setting

## Name

openssl-version - print OpenSSL version information

## Synopsis

`openssl version [-help] [-a] [-v] [-b] [-o] [-f] [-p] [-d] [-e] [-m] [-r] [-c]`

## Options

- `-help` — print usage message
- `-a` — all information, same as setting all other flags
- `-v` — current OpenSSL version
- `-b` — build date of current version
- `-o` — option information: various options set when library was built
- `-f` — compilation flags
- `-p` — platform setting
- `-d` — OPENSSLDIR setting
- `-e` — ENGINESDIR setting
- `-m` — MODULESDIR setting
- `-r` — random number generator source settings
- `-c` — OpenSSL CPU settings info

## Examples

shell
# Print all version information (typically used for bug reports)
openssl version -a
## See Also

None.