--- title: runtime.version() function description: The `runtime.version()` function returns the current Flux version. aliases: - /influxdb/v2.0/reference/flux/functions/runtime/version/ - /influxdb/v2.0/reference/flux/stdlib/runtime/version/ - /influxdb/cloud/reference/flux/stdlib/runtime/version/ menu: flux_0_x_ref: name: runtime.version parent: runtime weight: 401 introduced: 0.38.0 --- The `runtime.version()` function returns the current Flux version. ```js import "runtime" runtime.version() ```