---
id: api/cypress-api/version
title: Cypress.version | Cypress Documentation
description: Get the current version of Cypress you are running.
section: api
source_path: docs/api/cypress-api/version.mdx
version: 3cf5b86b3403f604bdf7f3e35025c3bc3865e02c
updated_at: '2026-05-07T17:44:31.931Z'
---
# Cypress.version

`Cypress.version` returns you the current version of Cypress you are running.

## Syntax

```
Cypress.version // '1.1.0'
```

## Examples

### Conditionals

```
const semver = require('semver')if (semver.gte(Cypress.version, '1.1.3')) {  it('has Cypress.platform', () => {    expect(Cypress.platform).to.be.a('string')  })}
```

**Hint:** you can use [semver](https://github.com/npm/node-semver#readme) library to work with semantic versions.

## See also

To find the version of the Electron component, or the bundled Node version, use the Cypress CLI command [cypress version](/llm/markdown/app/references/command-line.md#cypress-version).
