Two account one user, how?

in contrast to this:

how to do 2 account, 1 user?
when i logout and then login, looks like cursor ide will reindex the code base.

wish it be done smoothly. thanks

3 Likes

i have three computer(my owned,all me) use the same cursor account ~ i think they dont mind it, I think they may be more concerned about the usage.

i have many project and not enconter the reindex problem~

1 Like

i wann use two accounts in the same ONE PC.

suppose i paid 2 paid pro accouts. how?

thanks

2 Likes

Wow, your requirement is really rare, and your projects still uses the same ?

yeah. actually one can do so.

you case use cursor/vscode alongside vscode insider

Ok, this is my use case. I work for a company which has BYOD policy, but they share software licenses. In this case they shared a company membership.

However, I have personal projects and/or opensource. Regardless of “don’t worry, we won’t let know your employer about other projects we respect privacy yada yada”, I prefer to pay for the work I do in my own time with my own resources.

I think, using that license is taking advantage of that company that kindly provided the key for the work I’m mean to be doing for them.

5 Likes

If you want you can use 2 instances of cursor and have a different licence on each one. here is how on mac :

1. Duplicate the Cursor Application

  • Open Finder and go to /Applications.
  • Duplicate Cursor.app → rename it to Cursor_perso.app.

2. Create a Separate Configuration Folder

  • Choose a folder for the new configuration, for example: ~/.cursor-profile-2.

3. Launch the Second Instance

Use this command in the terminal:

/Applications/Cursor_perso.app/Contents/MacOS/Cursor --user-data-dir=$HOME/.cursor-profile-2 --extensions-dir=$HOME/.cursor-profile-2/extensions

4. Copy Profile Configurations (Optional)

User Settings (profiles, shortcuts)

mkdir -p ~/.cursor-profile-2/User
cp -R ~/Library/Application\ Support/Cursor/User/* ~/.cursor-profile-2/User/

5. Create an Alias (Optional)

Add this to ~/.zshrc:

alias cursorperso='/Applications/Cursor_perso.app/Contents/MacOS/Cursor --user-data-dir=$HOME/.cursor-profile-2 --extensions-dir=$HOME/.cursor-profile-2/extensions'

Then execute:

source ~/.zshrc

6. Create a Custom App (Optional)

  • Open Automator > New Application.
  • Add “Run Shell Script” with the same code as the alias:
alias cursorperso='/Applications/Cursor_perso.app/Contents/MacOS/Cursor --user-data-dir=$HOME/.cursor-profile-2 --extensions-dir=$HOME/.cursor-profile-2/extensions'
  • Save as Cursor Perso launcher.app in ~/Applications.
  • Change the icon via “Get Info” and paste a custom image.
  • Add the launcher to the dock.
18 Likes

Got a slightly different, none OS-specific guide here too:

https://forum.cursor.com/t/multi-account-support-with-project-level-assignment/102865/4?u=danperks

Boom! :collision: You gave me exactly what I was looking for. Thank you :saluting_face:

It was easy-peezy, I got it knocked out in like < 2 mins, and now I have one Cursor running with my work account and the other running with my personal account.

If you’re looking for a solution everyone, these steps’ll work if you’re on Mac, I recommend it.

2 Likes

Logged in just to say that this exact steps works perfectly. Thanks!

2 Likes

ahh thats a great idea.
thanks for the step by step guide

1 Like

This isn’t working anymore? anyone else facing the same issue?

After copying the application I get the error “Cursor-personal” is damaged and can’t be opened. You should move it to the Trash“ when I launch it

Worked great, really appreciate it! I added in

alias cursorperso='open -na "/Applications/Cursor_perso.app" \
  	--args --user-data-dir="$HOME/.cursor-profile-2" \
        --extensions-dir="$HOME/.cursor-profile-2/extensions"'

just to ensure it forks and detaches it completely from the running terminal (similiar to custom app). Great work!

1 Like

Still working for me, but i did not copy cursor again since my original post…

Hey there, I see you provided a neat guide for MacOS. Do you have something similar for Windows?

Unfortunately no, i use windows at home from time to time but i only use my personal Cursor account when its the case… if you find a working tutorial about it do not forget to put a link here it would be appreciated !

I have found a way to handle this on WIndows by doing the following.

  1. Create a folder C:/Users/YourUser/CursorData
  2. Create two shortcuts to Cursor, each shortcut should pass an execution parameter to Cursor.exe called “user-data-dir”, e.g.
    C:\Users\YourUser\AppData\Local\Programs\cursor\Cursor.exe --user-data-dir=“C:\Users\YourUser\CursorData\Profile_1”
  3. Upon launch, Cursor will attempt to establish connection to an account, I repeated this process for both profiles.
  4. To make a destinction between the two profiles, I use a different colored theme.

It would be nice to be able to add a custom icon, or to make the cursor application “not stack” with the other profile, but that are just nice to haves. I am currently content with this solution.

1 Like

Thank you for this !

I also tried this and it worked great but when using the agent I recognized that it is missing edit rights on my filesystem. So I went to the system settings in MacOS and gave it access to disk storage but it does not work. The agent always tells me it has no rights for editing (restarted whole system multiple times). Anyone else experiencing this?