---
title: runtime.version() function
description: runtime.version() returns the current Flux version.
url: https://docs.influxdata.com/flux/v0/stdlib/runtime/version/
estimated_tokens: 492
product: Flux
version: v0
---

# runtime.version() function

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

##### Function type signature

```js
() => string
```

For more information, see [Function type signatures](/flux/v0/function-type-signatures/).

## Examples

### Return the Flux version in a stream of tables

```js
import "array"
import "runtime"

array.from(rows: [{version: runtime.version()}])
```

[](#view-example-output)

View example output

#### Output data

| version |
| --- |
| (devel) |
