# YugaByte DB version inquiry

**URL:** <https://forum.yugabyte.com/t/yugabyte-db-version-inquiry/305>\
**Category:** General\
**Created:** [April 2, 2019, 12:50pm UTC](https://forum.yugabyte.com/t/yugabyte-db-version-inquiry/305 "2019-04-02T12:50:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CharlieORiley](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@CharlieORiley](https://forum.yugabyte.com/u/CharlieORiley)\
**Post date:** [April 2, 2019, 12:50pm UTC](https://forum.yugabyte.com/t/yugabyte-db-version-inquiry/305/1 "2019-04-02T12:50:12Z")

</div>

What is the command to check the version number of YugaByte DB in use?

---

<div class="post-metadata">

**Author:** ![karthik](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.yugabyte.com/karthik/32/13_2.png) [@karthik](https://forum.yugabyte.com/u/karthik)\
**Post date:** [April 2, 2019, 6:01pm UTC](https://forum.yugabyte.com/t/yugabyte-db-version-inquiry/305/2 "2019-04-02T18:01:35Z")

</div>

Hi,

You can pass the `--version` flag to the `yb-master` or the `yb-tserver` binary.

For example, I get the following on my mac for the `1.2.2.0` version:

```bash
$ yugabyte-1.2.2.0/bin/yb-tserver --version
version 1.2.2.0 build 2 revision 91b8a670728f0ec551ef494960aedc068c43abb5 build_type RELEASE built at 26 Mar 2019 11:17:57 PST

```
