Downloading applications through the PowerShell terminal on Windows offers a streamlined method for obtaining software directly from the web. This guide provides a clear, step-by-step approach to using the Invoke-WebRequest command to download applications, using Visual Studio Code as an example.
Step 1: Open PowerShell
First, launch PowerShell. You can do this by searching for “PowerShell” in the Start menu and selecting “Windows PowerShell.”

Step 2: Define the Source URL
Identify the URL of the application you want to download. Replace this URL with the appropriate link for the software you are downloading.

Step 3: Define the Destination Path
Next, specify where you want to save the downloaded file on your computer. For example:

Make sure to replace “YourUsername” with your actual Windows username.
Step 4: Use Invoke-WebRequest to Download the File
Execute the command in PowerShell:

This is how it will look in the PowerShell terminal:

Step 5: After pressing Enter, a web request terminal will appear:

Congratulations! You’ve just downloaded your first application through the PowerShell Terminal.

Leave a comment