---
title: runtime.version() function
description: The `runtime.version()` function returns the current Flux version.
aliases:
  - /v2.0/reference/flux/functions/runtime/version/
menu:
  v2_0_ref:
    name: runtime.version
    parent: Runtime
weight: 401
---

The `runtime.version()` function returns the current Flux version.

_**Function type:** Miscellaneous_  
_**Output data type:** String_

```js
import "runtime"

runtime.version()
```
