Skip to content
iconpacks

CLI

Use the iconpacks CLI to add icons to your project.

Usage

Run a command without installing anything. Every command takes --help.

npx @hasna/iconpacks add tool-call

Commands

CommandWhat it does
initSets up a project: finds your framework and components folder, and writes iconpacks.json.
add <icons>Adds icons to your project. Name one or several.
remove <icons>Removes icons that iconpacks added. It never touches a file it did not write.
search <words>Searches names, meanings and keywords.
listLists the icons in your project.
packsLists the packs you can add from.
updateUpdates the icons in your project to the latest version of their pack.

Search

Search icons by name, meaning and keywords, and the docs.