[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]node_modules/2024-05-21 17:03 -  
[DIR]dist/2024-05-21 17:04 -  
[   ]LICENSE2024-05-21 17:04 1.1K 
[   ]package.json2024-05-21 17:04 1.3Kafd0ccc remove unused [كارل مبارك]
[TXT]README.md2024-05-21 17:04 669 595aea1 more query options + view options [كارل مبارك]
# install-pkg

[![NPM version](https://img.shields.io/npm/v/@antfu/install-pkg?color=a1b858&label=)](https://www.npmjs.com/package/@antfu/install-pkg)

Install package programmatically. Detect package managers automatically (`npm`, `yarn` and `pnpm`).

```bash
npm i @antfu/install-pkg
```

```ts
import { installPackage } from '@antfu/install-pkg'

await installPackage('vite', { silent: true })
```

## Sponsors

<p align="center">
  <a href="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg">
    <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/>
  </a>
</p>

## License

[MIT](./LICENSE) License © 2021 [Anthony Fu](https://github.com/antfu)