# install-pkg **Repository Path**: mirrors_antfu/install-pkg ## Basic Information - **Project Name**: install-pkg - **Description**: Install package programmatically. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-07-17 - **Last Updated**: 2026-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # install-pkg [](https://www.npmjs.com/package/@antfu/install-pkg) Install package programmatically. Detect package managers automatically (`npm`, `yarn`, `bun` and `pnpm`). ```bash npm i @antfu/install-pkg ``` ```ts import { installPackage } from '@antfu/install-pkg' await installPackage('vite', { silent: true }) ``` ## Sponsors
## License [MIT](./LICENSE) License © 2021 [Anthony Fu](https://github.com/antfu)