Install the Postman VS Code extension

To get started, choose the supported application where you'd like to install the Postman VS Code extension. Then complete the pre-requisite configurations required to use the VS Code extension. Once complete, install the VS Code extension then sign in to your Postman account or create a new account.

You can learn how to view your version of the VS Code extension and view events related to the extension. You can also learn about shortcuts to help you use the VS Code extension.

Application requirements

The VS Code extension is supported in the following applications:

The VS Code extension supports all versions of Cursor and Windsurf

Prerequisites

You must configure the following pre-requisites before you can use the VS Code extension:

  • Override proxy support - Open your user settings, select Search settings, and enter "Proxy Support". Under Proxy Support, select override from the dropdown list.
  • Use Postman behind a firewall - If you're using Postman behind a network firewall, you must allow specific domains to connect to Postman. To learn about the domains you need to allow, see Use Postman behind a firewall.

Install

To install the VS Code extension, go to the Visual Studio Marketplace.

Sign in to Postman

Sign in to Postman to use the VS Code extension. When you sign in, select a team to access its workspaces and you'll be able to see the request history in the sidebar. You can create a Postman account if you don't already have one.

If this is your first time opening the VS Code extension, a tab opens in the extension where you can sign in to Postman or create an account.

  1. Open the VS Code extension.
  2. Click Sign In in the sidebar. The VS Code extension opens a new screen that prompts you to sign in from your browser.
  3. In your browser, select a Postman team then sign in to Postman. Then you can close the browser tab and return to the VS Code extension.

Learn more about signing in to Postman.

Create a Postman account

To create a new Postman account, do the following:

  1. Open the VS Code extension.
  2. Click Create one in the sidebar. The VS Code extension opens a new screen that prompts you to create an account from your browser.
  3. In your browser, enter your information then click Create Free Account.

Learn more about signing up for a Postman account.

View the version

To view the VS Code extension version you're using, do the following:

  1. Click Options icon Views and More Actions at the top of the sidebar.
  2. Select Version.

View the extension log

The VS Code extension log displays events related to the VS Code extension. The logs show the date and time an event occurred, the log type, and a description of the event.

  1. Click Options icon Views and More Actions at the top of the sidebar.
  2. Select Open Extension Log. The VS Code extension log opens in a new tab.

Shortcuts

You can use the following shortcuts in the VS Code extension:

ActionmacOSWindows/Linux
Open the VS Code extension⌘+⌥+PCtrl+Win+P
Create a new collectionHolding , press R then CHolding Ctrl, press R then C
Create a new environmentHolding , press R then EHolding Ctrl, press R then E
Open a new request tabHolding , press R then NHolding Ctrl, press R then N
Open the Postman ConsoleHolding , press R then PHolding Ctrl, press R then P

Last modified: 2025/07/25