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

# 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"
```
