Reputation: 513
I just downloaded the Visual Studio Code App from https://code.visualstudio.com/ and when I tried to install it, it simply just installed it by itself, without the option to change the installation path.
I have an external harddrive, which is where I want the IDE to be placed instead of the Local Harddrive. How can I change this?
Upvotes: 4
Views: 17715
Reputation: 191
If you want to install to a custom location (and want to keep the settings/extensions/session) follow the instructions to install it in Portable Mode.
In short:
/data
directory in the install rootUpvotes: 4
Reputation: 811
On the VSCode download page select "System Installer" instead of "User Installer". The System installer will prompt you for the install location.
Upvotes: 13
Reputation: 513
Full credit to Hans Passant for giving the following working solution as a comment.
The installer does very little beyond copying the files, it just creates some Explorer context menu shortcuts ("Open with Code"). Otherwise following Chromium conventions and copying itself to c:\Users\yourname\AppData\Local\Code\app-0.1.0 so it can update itself without you noticing. Boo. So high odds that simply moving that folder to the other drive works just fine, put it anywhere and create a shortcut to Code.exe. If you still want the context menu entry to work then use Regedit and search for "code\app-0.1.0".
Upvotes: 3