> ## Content Index
> Fetch the complete content index at: https://www.techielass.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Install software to a different location using Windows Package Manager
- URL: https://www.techielass.com/install-software-to-a-different-location-using-windows-package-manager/
- Published: 2021-10-05T09:01:00.000Z
- Updated: 2023-03-08T21:19:35.000Z
- Description: Join me as I look at how you can use Windows Package Manager to install software to a custom location of your choosing.
- Author: Sarah Lean
- Tags: WinGet, Windows 10, Windows 11, Windows Package Manager

[Windows Package Manager](https://github.com/microsoft/winget-cli?ref=techielass.com) is a great tool that can be used to help install, uninstall and keep your software update to date on your PC. I've covered it's full functionality in previous blog posts [here](https://www.techielass.com/tag/winget/). 

In this blog post, I want to cover the question of what happens if you don't want to accept the default install location of a piece of software and have a dedicated location for software installs. Can you still use Windows Package Manager to do the installation?

The short answer is yes. Let's look at how. 😊 

So you have a dedicated drive or folder that isn't the "default install location" for software. How do you tell Windows Package Manager to install in that location? With the **winget install** command you have several options you can use to get the command to do what you want. For this example, we would use the **\--location** option. 

For example, if you want to install Microsoft Visual Studio Code to a different drive and folder, you would use the command: **winget install microsoft.visualstudiocode --location "I:\\Program Location"**

![Windows Package Manager install to custom location](https://storage.ghost.io/c/08/96/08960c71-63a2-449b-91b1-8d4628166dd2/content/images/2021/09/wingetlocation.PNG)

Windows Package Manager install to custom location

And if we look at that location once the command has completed, we can see it's installed the software to the location we wanted. 

![Windows Package Manager custom location install](https://storage.ghost.io/c/08/96/08960c71-63a2-449b-91b1-8d4628166dd2/content/images/2021/09/wingetlocationcomplete.PNG)

Windows Package Manager custom location install

So as I said, you can still use Windows Package Manager to install software on your machine even if you don't want to use the default install locations. 

[Install Windows Package Manager](https://www.techielass.com/how-to-install-winget-windows-package-manager/) today and give it a try for yourself!