# Cursor --version printing cursor-agent version?

**URL:** <https://forum.cursor.com/t/cursor-version-printing-cursor-agent-version/134175>\
**Category:** Bug Reports\
**Created:** [September 19, 2025, 9:06pm UTC](https://forum.cursor.com/t/cursor-version-printing-cursor-agent-version/134175 "2025-09-19T21:06:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![red\_panda](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@red\_panda](https://forum.cursor.com/u/red_panda)\
**Post date:** [September 19, 2025, 9:06pm UTC](https://forum.cursor.com/t/cursor-version-printing-cursor-agent-version/134175/1 "2025-09-19T21:06:21Z")

</div>

We have some scripts that rely on the output of `cursor --version`. When my colleagues were running cursor --version, they were getting the desired and expected 3 line version format

```auto
1.6.27
d750e54bba5cffada6d7b3d18e5688ba5e944ad0
arm64

```

However when I was running `cursor --version` I was getting

```auto
2025.09.12-4852336

```

A bit of investigation with AI led me to `cursor-agent`, if I run `~/.local/bin/cursor-agent --version` it would print out `2025.09.12-4852336` only.

So I moved this symlink with `mv ~/.local/bin/cursor-agent ~/.local/bin/cursor-agent.bak` and then retried `cursor --version`. When I did this, a brief prompt flashed on the terminal saying cursor-agent couldn’t be found and it is installing. And after that, `cursor --version` now prints

```auto
1.6.27
d750e54bba5cffada6d7b3d18e5688ba5e944ad0
arm64

```

as expected.

So my question is: is `cursor` cli relying on the existence of cursor-agent? and it is expected that it would use cursor-agent version instead of its own version? What is this cursor-agent and when is it used / hijacking the cursor version?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [September 20, 2025, 8:43am UTC](https://forum.cursor.com/t/cursor-version-printing-cursor-agent-version/134175/2 "2025-09-20T08:43:16Z")

</div>

Hey, thanks for the report, we’ll look into it.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [December 19, 2025, 8:43am UTC](https://forum.cursor.com/t/cursor-version-printing-cursor-agent-version/134175/3 "2025-12-19T08:43:26Z")

</div>

Closed on December 19, 2025, 8:43am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [February 20, 2026, 5:24pm UTC](https://forum.cursor.com/t/cursor-version-printing-cursor-agent-version/134175/5 "2026-02-20T17:24:15Z")

</div>

This bug should now be fixed!
