---
schema_version: "1"
id: bf91d9fd544bfd91e043b797d4cabdcfcb70ad2a5ab333ef874449a020599584
title: version
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.6/dw-runtime-functions-version.md
canonical_url: https://docs.mulesoft.com/dataweave/2.6/dw-runtime-functions-version
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1d5dd744624486ceabea9315aa3a637ac43fbb45f3f7d229d7bde7bbcd16ff73
description: MuleSoft Documentation Site
release: "2.6"
latest: false
---
---
product: DataWeave
version: 2.6
---

# version

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## version(): String

Returns the DataWeave version that is currently running.

_Introduced in DataWeave version 2.5.0._

### Example

This example returns the DataWeave version.

#### Source

```DataWeave
%dw 2.0
import * from dw::Runtime
output application/json
---
version()
```

#### Output

```Json
"2.5"
```
