I have several times had to switch computers or otherwise use a client specific computer for work or personal reasons. Last year I created a system to be able to migrate my zsh settings and cursor ide settings and automate a lot of the setup through brew
Update in May: Cursor Ide was not able to automatically install either of these, but it certainly made the process faster and faster to troubleshoot. Be prepared for changes between major OS upgrades, etc.
Cursor IDE extension install via CLI works, but you have to quit cursor, so it needed some manual help there.
Dotfiles and brew install scripts
https://gist.github.com/jamesstoneco/a9ef8c4cf456fa125b528ba0024391cc
Cursor IDE settings and automated extension install
https://gist.github.com/jamesstoneco/92ed119056336d4c484397013bc6779c
Additionally in the readme for each above, there is information on how to do this on your own machine.
Ironically the process and files were generated with assistance from Cursor IDE and Claude 3.5.