# Import Postman data using the Postman VS Code extension You can import collections and environments that were [exported from Postman](/docs/getting-started/importing-and-exporting/exporting-data/). You can also import requests using a cURL command. To learn more, see [Import data into Postman](/docs/getting-started/importing-and-exporting/importing-data/). ## Import Postman data To import data, do the following: 1. Click Import icon **Import** at the top of the sidebar. 2. Choose how you'd like to import your data: * **cURL** - Enter your curl command. The Postman VS Code extension opens the request in a new tab. Make sure to save the request to a collection. You can [convert a Postman request to a curl command](/docs/developer/vs-code-extension/send-requests/#generate-code-snippets) and import it using the curl command. * **File** - Select collection or environment files. If you're importing a single file, the VS Code extension imports it after you select it. * **Folder** - Select a folder that has multiple collection or environment files. * **.env files** - The VS Code extension detects `.env` files in your API project that haven't been imported into Postman. When you select this option, Postman checks for new `.env` files that you haven't imported yet. You'll receive an in-app notification if no new files are detected. Learn about [importing environment variables into a new environment](/docs/developer/vs-code-extension/import-data/import-environment-variables/) in Postman. 3. If you're importing multiple files or a folder, select the checkbox next to the files you want to import, then click **Import**. You can also use the `Postman: Import` command from the [Command Palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette) to import data.