# Change default location of .cursor-server

**URL:** <https://forum.cursor.com/t/change-default-location-of-cursor-server/2065>\
**Category:** Help\
**Created:** [December 14, 2023, 11:29am UTC](https://forum.cursor.com/t/change-default-location-of-cursor-server/2065 "2023-12-14T11:29:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmai](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/fmai/32/899_2.png) [@fmai](https://forum.cursor.com/u/fmai)\
**Post date:** [December 14, 2023, 11:29am UTC](https://forum.cursor.com/t/change-default-location-of-cursor-server/2065/1 "2023-12-14T11:29:54Z")

</div>

I need to change the location of where “cursor-server” is installed when establishing a remote connection. Currently it’s “/home/xxx/.cursor-server”. Is there a way to achieve that?

---

<div class="post-metadata">

**Author:** ![truell20](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/truell20/32/28583_2.png) [@truell20](https://forum.cursor.com/u/truell20)\
**Post date:** [December 14, 2023, 6:59pm UTC](https://forum.cursor.com/t/change-default-location-of-cursor-server/2065/2 "2023-12-14T18:59:09Z")

</div>

I don’t think so at the moment. Could you give more details on why you can’t write to ~/.cursor-server? If it makes sense, we could support this in the future.

---

<div class="post-metadata">

**Author:** ![fmai](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/fmai/32/899_2.png) [@fmai](https://forum.cursor.com/u/fmai)\
**Post date:** [December 21, 2023, 1:24pm UTC](https://forum.cursor.com/t/change-default-location-of-cursor-server/2065/3 "2023-12-21T13:24:04Z")

</div>

I can’t create it because my department restricts the home folder to few hundred MB in size - it just doesn’t fit.

---

<div class="post-metadata">

**Author:** ![ziyin](https://avatars.discourse-cdn.com/v4/letter/z/7bcc69/32.png) [@ziyin](https://forum.cursor.com/u/ziyin)\
**Post date:** [August 27, 2024, 8:55am UTC](https://forum.cursor.com/t/change-default-location-of-cursor-server/2065/4 "2024-08-27T08:55:57Z")

</div>

Here’s my workaround: create a directory at the target location and symlink it to` ~/.cursor-server`.  
for example:

```auto
mkdir /custom_path/.cursor-server
ln -s /custom_path/.cursor-server ~/.cursor-server

```

---

<div class="post-metadata">

**Author:** ![spraharsh](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/spraharsh/32/60929_2.png) [@spraharsh](https://forum.cursor.com/u/spraharsh)\
**Post date:** [June 4, 2025, 3:52pm UTC](https://forum.cursor.com/t/change-default-location-of-cursor-server/2065/5 "2025-06-04T15:52:23Z")

</div>

same issue. My home directory is restricted on my remote, here’s the equivalent vscode question on stackexchange

[https://stackoverflow.com/questions/62613523/how-to-change-vscode-server-directory](https://stackoverflow.com/questions/62613523/how-to-change-vscode-server-directory)

---

<div class="post-metadata">

**Author:** ![gyj155](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/gyj155/32/65559_2.png) [@gyj155](https://forum.cursor.com/u/gyj155)\
**Post date:** [June 24, 2025, 1:07pm UTC](https://forum.cursor.com/t/change-default-location-of-cursor-server/2065/6 "2025-06-24T13:07:52Z")

</div>

It worked, thanks

---

<div class="post-metadata">

**Author:** ![chinsengi](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/chinsengi/32/32541_2.png) [@chinsengi](https://forum.cursor.com/u/chinsengi)\
**Post date:** [October 9, 2025, 12:49am UTC](https://forum.cursor.com/t/change-default-location-of-cursor-server/2065/7 "2025-10-09T00:49:44Z")

</div>

For me this will break once the cursor window is reloaded. The solution on stackexchange is more reliable.
