Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto Path ManagerNew to Visual Studio Code? Get it now.
Auto Path Manager

Auto Path Manager

Thinh Buzz

|
14 installs
| (0) | Free
Automatically add predefined and user-configured directories to the terminal's PATH in Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Auto Path Manager

Version License

Automatically add predefined and user-configured directories (e.g., node_modules/.bin, vendor/bin) to the terminal's PATH in Visual Studio Code. Simplify access to local binaries and tools without manual configuration.


Features

  • Predefined Directories: Automatically includes common directories like node_modules/.bin and vendor/bin.
  • Customizable Paths: Allows users to add their own directories via settings.
  • Seamless Integration: Works transparently with VSCode terminals without requiring manual setup.
  • Cross-Platform Support: Compatible with Windows, macOS, and Linux.

Installation

From Visual Studio Code Marketplace

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window or pressing Ctrl+Shift+X (Cmd+Shift+X on macOS).
  3. Search for "Auto Path Manager".
  4. Click Install.

From Source

  1. Clone this repository:
    git clone https://github.com/thinhbuzz/auto-path-manager.git
    
  2. Navigate to the project directory:
    cd auto-path-manager
    
  3. Install dependencies:
    pnpm install
    
  4. Build the extension:
    pnpm run compile
    
  5. Press F5 to open a new VSCode window with the extension loaded.

Configuration

Default Paths

The extension automatically checks for the following predefined directories:

  • node_modules/.bin
  • vendor/bin

Custom Paths

You can add custom directories by modifying the settings:

  1. Open Settings (Ctrl+, or Cmd+,).
  2. Search for "Auto Path Manager".
  3. Add your custom directories under the autoAddPathsToTerminal.additionalPaths setting.

Alternatively, you can edit the settings.json file directly:

"autoAddPathsToTerminal.additionalPaths": [
    "custom/bin",
    "tools/bin"
]

Usage

  1. Open a terminal in VSCode.
  2. The extension will automatically add the configured directories to the terminal's PATH.
  3. Verify the updated PATH:
    • On macOS/Linux:
      echo $PATH
      
    • On Windows:
      echo %PATH%
      

Contributing

We welcome contributions from the community! Here’s how you can help:

  1. Fork the Repository: Click the "Fork" button on the top-right corner of this page.
  2. Clone Your Fork:
    git clone https://github.com/thinhbuzz/auto-path-manager.git
    
  3. Create a New Branch:
    git checkout -b feature/your-feature-name
    
  4. Make Changes: Implement your changes or fixes.
  5. Test Locally: Ensure the extension works as expected by running it in a VSCode debug environment.
  6. Submit a Pull Request: Push your changes and create a pull request to the main branch.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Credits

  • Inspired by the need to simplify PATH management in VSCode terminals.
  • Built using the VSCode Extension API.

Support

If you encounter any issues or have suggestions, please open an issue in the GitHub Issues section.


Author

  • Name: Thinh Buzz
  • GitHub: thinhbuzz
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft