How to Add NPM Packages in Bun JS

Bun JS has an insanely fast package installer which is one great reason to upgrade to it over Node!

To install a package in bun simply use:

bun add [PACKAGE_NAME]

For example, install figlet (ASCII art) and its typings:

bun add figlet
bun add -d @types/figlet 

Leave a Comment