Skip to content

Repository files navigation

install-pkg

NPM version

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

npm i @antfu/install-pkg
import { installPackage } from '@antfu/install-pkg'

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

Sponsors

Sponsors

License

MIT License © 2021 Anthony Fu

About

Install package programmatically.

Resources

Code of conduct

Contributing

Stars

206 stars

Watchers

3 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages