---
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: 524ff5211e60b5d53e55d6ad976d83966f66e7cd
updated_at: '2026-04-30T14:20:05.396Z'
---
# 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).
