Sublime Forum

Copy configuration to another machine

#1

Is there a way to package up my current configuration - the installed plugins, my selected color scheme, my license file, etc. and copy it to another machine? I have started setting up ST on the different workstations that I use, and I finally got the first one configured the way I want it. I really don’t want to have to spend the time to search package control for my packages on each new workstation.

Is it as simple as copying the “%USERPROFILE%\AppData\roaming\Sublime Text” (on Windows) to the new workstation, or will that leave something out?

For comparison, I’m looking for a feature similar to the IntelliJ IDEA IDE that will package everything up (except my license) into a zip file and recreate my configuration elsewhere.

0 Likes

#2

Yes, all configuration lives in %APPDATA%\Sublime Text and it can be easily copied between machines.

0 Likes

#3

But only from Win->Win or Lin->Lin, … .

Any cross-platform copy will likely end up in broken or messed up packages or libraries.

Various packages are platform specific. Most libraries aka. python packages ship compiled platform-specific dlls/so files.

0 Likes

#4

I have 3 windows workstations and 2 Linux (RedHat and Mint). Will the packages transfer between RedHat and Linux Mint correctly? I don’t expect an issue with Windows because I’m running the same version on all 3.

0 Likes

#5

Various packages rely on dependencies/libraries aka. python packages, which may or may not ship with platform-specific binaries.

So copying the whole profile directory from Windows to Linux or vice versa, will cause such libraries to fail on the target.

Hence it is not recommended to copy everything.

Assuming all packages are used unmodified without any overrides, it is enough to copy %APPDATA%\Sublime Text\Packages\User and maybe your license file from %APPDATA%\Sublime Text\Local in case it is stored as portable license. Otherwise you’ll need to enter it on your target machine again anyway.

Install Package Control on target machine and let it set-up all packages for you.

I’d suggest to directly install Package Control 4 as described at https://github.com/wbond/package_control to avoid any fiddeling with the old PC3.

1 Like

#6

I’ve historically used PackageSync’s zip download option for moving configuration between machines.

0 Likes