Skip to content

flox search command


flox-search - search packages in subscribed channels.


flox [ <general-options> ] search <name> [ (-c|--channel) <channel> ]… [ --refresh ]


Search for available packages matching name.

All channels are searched by default, but if provided the (-c|--channel) argument can be called multiple times to specify the channel(s) to be searched.

The cache of available packages is updated hourly, but if required you can invoke with --refresh to update the list before searching.


General Options

Many flox commands wrap Nix commands of the same name, and will correspondingly pass on options and arguments directly to the underlying nix invocation. For more information on the options supported by specific Nix commands please invoke flox nix <command> help.

The following options are used specifically by flox and must be specified before the <command> argument.

-v, --verbose
Verbose mode. Invoke multiple times for increasing detail.

Debug mode. Invoke multiple times for increasing detail.

-V, --version
Print flox version.

Print flox installation prefix / Nix store path. (flox internal use only.)

Force execution in flox-bash (flox internal use only.)

Search Options

[ <name> ]
package name to search for

[ (-c|--channel) <channel> ]…
Specify the channel to be searched. If unspecified searches all subscribed channels. Can be given multiple times to search in more channels.

[ --refresh ]
Update the list before searching.

[ --json ]
output the search results in json format

[ -v | --verbose ]
output extended information