Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Lazy Install - Smart Package InstallerNew to Visual Studio Code? Get it now.
Lazy Install - Smart Package Installer

Lazy Install - Smart Package Installer

simonhe

|
163 installs
| (0) | Free
| Sponsor
🚀 Automatically detect and install npm packages with one click! No more copy-pasting or switching to terminal. Just import and install instantly.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lazy Install

🚀 Lazy Install

Smart Package Installer for VS Code

Visual Studio Marketplace Version Visual Studio Marketplace Downloads GitHub License

English | įŽ€äŊ“中文


✨ Why Lazy Install?

Stop the tedious workflow! 🛑

❌ Before: Import → Copy package name → Switch to terminal → Type install command → Wait → Switch back to editor ✅ After: Import → Click install button → Done! 🎉

Lazy Install automatically detects uninstalled packages in your import statements and provides one-click installation buttons right in your editor. No more context switching, no more copy-pasting!

🎯 Features

  • 🔍 Smart Detection: Automatically scans your import statements
  • ⚡ One-Click Install: Install packages instantly with CodeLens buttons
  • 🛠ī¸ Multiple Package Managers: Supports npm, pnpm, yarn, and ni
  • 📦 Dev Dependencies: Choose between regular or dev dependencies
  • 🚀 Zero Configuration: Works out of the box
  • 🎨 Clean UI: Non-intrusive inline buttons
  • 🔧 Workspace Support: Handles monorepos and workspaces

🎬 Demo

Demo GIF

Just import and click - it's that simple!

🚀 Quick Start

  1. Install the extension from VS Code Marketplace
  2. Write your import statement: import axios from 'axios'
  3. Click the install button that appears inline
  4. Done! Package installed and ready to use

âš™ī¸ Configuration

Customize your package manager in VS Code settings:

{
  "lazy-install.way": "pnpm" // Options: "ni", "npm", "pnpm", "yarn"
}

Supported Package Managers:

  • 🔧 ni (default) - Universal package manager
  • 📦 npm - Node Package Manager
  • ⚡ pnpm - Fast, disk space efficient
  • 🧶 yarn - Reliable, secure, fast

🛠ī¸ Supported Languages

  • ✅ JavaScript (.js)
  • ✅ TypeScript (.ts)
  • ✅ React (.jsx, .tsx)
  • ✅ Vue (.vue)

💡 Pro Tips

  • Regular Dependency: Click the package name button
  • Dev Dependency: Click the "package-name -D" button
  • Multiple Packages: Install multiple packages in one go
  • Monorepos: Automatically detects workspace configuration

🤝 Contributing

Contributions are welcome! Feel free to:

  • 🐛 Report bugs
  • 💡 Suggest features
  • 🔧 Submit pull requests
  • ⭐ Star the project

📄 License

MIT Š Simon He

☕ Support

If this extension saves you time, consider buying me a coffee! ☕

Sponsor

🙏 Sponsors


Made with â¤ī¸ by Simon He

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
Š 2025 Microsoft