LogoFlux Docs
Commands

flux search

Search for packages directly from the Flux CLI using smart and fast queries.


Overview

The flux search command allows you to quickly search for packages from the registry (npm-compatible) directly in your terminal using the Flux CLI.

It uses a blazing fast query engine, optimized for developer experience.


Usage

Terminal
flux search <package-name>

Example

Terminal
flux search tailwind

Output:

Terminal
Found 3 results for "tailwind":

- tailwindcss       3.4.1     Utility-first CSS framework
- tailwind-merge    1.14.0    Merge Tailwind classes without conflicts
- @tailwind/forms   0.5.4     Official Tailwind plugin for forms

Features

  • Fast autocomplete-style searching
  • Returns relevant results with descriptions and version numbers
  • Defaults to top results from npm registry
  • Matches full and partial package names
  • Great for discovering new packages without leaving the terminal

Use Cases

Discover New Libraries

Looking for alternatives or helper libraries? Try searching with keywords like auth, date, router, or tailwind.

Confirm Exact Package Name

Use before installing to ensure you’re spelling the name correctly.

Preview Versions and Descriptions

Quickly see the latest version and what the package does before installing.


Tabs: Usage Patterns

Terminal
flux search date

Useful for exploring date libraries like date-fns, dayjs, and more.

Terminal
flux search axios
flux install axios

Use search to verify the package before installing it.