---
id: api/cypress-api/version
title: Cypress.version
description: Get the current version of Cypress you are running.
section: api
source_path: docs/api/cypress-api/version.mdx
version: 066c46e056f0f322a0670d2d3aa4e6adaebfe717
updated_at: '2026-09-10T13:30:12.426Z'
---
# 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).
