Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Auto Dependency InstallerNew to Visual Studio Code? Get it now.
Auto Dependency Installer

Auto Dependency Installer

GIRISH KOR

|
109 installs
| (0) | Free
Automatically detect and install missing dependencies for your project directly from Visual Studio Code!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info


A U T O - D E P E N D E N C Y - I N S T A L L E R

Version Downloads GitHub Stars License

Automatically detect and install missing dependencies for your project directly from Visual Studio Code!


➩ Quick Guide

  1. Open your project in Visual Studio Code
  2. Trigger installation using any method:
    • Command Palette : Ctrl+Shift+P/Cmd+Shift+P
    • Enter : >Install dependencies OR >Configure Auto Dependency Installer
    • Notification : Install, Skip, Show Details, Configure Auto-Install

➩ Supported Package Managers

Package Manager Lock File Installation Command
npm package-lock.json npm install <package>
yarn yarn.lock yarn add <package>
pnpm pnpm-lock.yaml pnpm add <package>
bun bun.lockb bun add <package>
bower bower.json bower install <package>
volta volta.json volta run npm install
jspm N/A jspm install <package>
ied N/A ied install <package>
cnpm N/A cnpm install <package>
ntl N/A ntl install <package>
tnpm N/A tnpm install <package>
corepack N/A corepack npm install <package>

Managers without lock file support can be configured as default in settings


➩ Configuration

Add to settings.json:

{
  "auto-dependency-installer.preferredPackageManager": "npm",
  "auto-dependency-installer.autoDetect": true
}
  • preferredPackageManager: Fallback when no lock file detected
  • autoDetect: Enable/disable automatic lock file detection

❓ FAQ

Q: How does it detect missing dependencies?
A: Analyzes import statements vs package.json dependencies

Q: Can I use it with monorepos?
A: Yes! Works at the workspace level

Q: Does it support global installations?
A: Currently focuses on project-local dependencies


🛠 Maintained by Girish Kor | 💖 Support by starring the repo!
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft