/usr/local/share/man/man1
NameSizeModeActions
npm-access.132700644editdlrm
npm-adduser.122070644editdlrm
npm-audit.1180660644editdlrm
npm-bugs.133900644editdlrm
npm-cache.136950644editdlrm
npm-ci.1108840644editdlrm
npm-completion.19990644editdlrm
npm-config.146460644editdlrm
npm-dedupe.1105650644editdlrm
npm-deprecate.123790644editdlrm
npm-diff.197810644editdlrm
npm-dist-tag.156460644editdlrm
npm-docs.133720644editdlrm
npm-doctor.153740644editdlrm
npm-edit.111900644editdlrm
npm-exec.1125100644editdlrm
npm-explain.129390644editdlrm
npm-explore.110910644editdlrm
npm-find-dupes.175860644editdlrm
npm-fund.140730644editdlrm
npm-get.15460644editdlrm
npm-help-search.18690644editdlrm
npm-help.111010644editdlrm
npm-init.1115900644editdlrm
npm-install-ci-test.190230644editdlrm
npm-install-test.1130860644editdlrm
npm-install.1317180644editdlrm
npm-link.1136530644editdlrm
npm-ll.165910644editdlrm
npm-login.125580644editdlrm
npm-logout.118890644editdlrm
npm-ls.179640644editdlrm
npm-org.123120644editdlrm
npm-outdated.177590644editdlrm
npm-owner.133650644editdlrm
npm-pack.143260644editdlrm
npm-ping.18510644editdlrm
npm-pkg.187220644editdlrm
npm-prefix.113060644editdlrm
npm-profile.134230644editdlrm
npm-prune.164530644editdlrm
npm-publish.188420644editdlrm
npm-query.176880644editdlrm
npm-rebuild.156590644editdlrm
npm-repo.131540644editdlrm
npm-restart.116900644editdlrm
npm-root.111960644editdlrm
npm-run.183830644editdlrm
npm-sbom.189990644editdlrm
npm-search.140670644editdlrm
npm-set.116320644editdlrm
npm-shrinkwrap.19990644editdlrm
npm-star.118090644editdlrm
npm-stars.17970644editdlrm
npm-start.118240644editdlrm
npm-stop.114540644editdlrm
npm-team.145050644editdlrm
npm-test.113670644editdlrm
npm-token.155220644editdlrm
npm-trust.1105320644editdlrm
npm-undeprecate.115790644editdlrm
npm-uninstall.149880644editdlrm
npm-unpublish.149020644editdlrm
npm-unstar.116600644editdlrm
npm-update.1144610644editdlrm
npm-version.190640644editdlrm
npm-view.180760644editdlrm
npm-whoami.18750644editdlrm
npm.159680644editdlrm
npx.168650644editdlrm
Edit: /usr/local/lib/node_modules/npm/man/man1/npm-search.1 (4067B)
.TH "NPM-SEARCH" "1" "March 2026" "NPM@11.12.0" "" .SH "NAME" \fBnpm-search\fR - Search for packages .SS "Synopsis" .P .RS 2 .nf npm search \[lB] ...\[rB] aliases: find, s, se .fi .RE .P Note: This command is unaware of workspaces. .SS "Description" .P Search the registry for packages matching the search terms. \fBnpm search\fR performs a linear, incremental, lexically-ordered search through package metadata for all files in the registry. If your terminal has color support, it will further highlight the matches in the results. This can be disabled with the config item \fBcolor\fR .P Additionally, using the \fB--searchopts\fR and \fB--searchexclude\fR options paired with more search terms will include and exclude further patterns. The main difference between \fB--searchopts\fR and the standard search terms is that the former does not highlight results in the output and you can use them more fine-grained filtering. Additionally, you can add both of these to your config to change default search filtering behavior. .P Search also allows targeting of maintainers in search results, by prefixing their npm username with \fB=\fR. .P If a term starts with \fB/\fR, then it's interpreted as a regular expression and supports standard JavaScript RegExp syntax. In this case search will ignore a trailing \fB/\fR . (Note you must escape or quote many regular expression characters in most shells.) .SS "Configuration" .SS "\fBjson\fR" .RS 0 .IP \(bu 4 Default: false .IP \(bu 4 Type: Boolean .RE 0 .P Whether or not to output JSON data, rather than the normal output. .RS 0 .IP \(bu 4 In \fBnpm pkg set\fR it enables parsing set values with JSON.parse() before saving them to your \fBpackage.json\fR. .RE 0 .P Not supported by all npm commands. .SS "\fBcolor\fR" .RS 0 .IP \(bu 4 Default: true unless the NO_COLOR environ is set to something other than '0' .IP \(bu 4 Type: "always" or Boolean .RE 0 .P If false, never shows colors. If \fB"always"\fR then always shows colors. If true, then only prints color codes for tty file descriptors. .SS "\fBparseable\fR" .RS 0 .IP \(bu 4 Default: false .IP \(bu 4 Type: Boolean .RE 0 .P Output parseable results from commands that write to standard output. For \fBnpm search\fR, this will be tab-separated table format. .SS "\fBdescription\fR" .RS 0 .IP \(bu 4 Default: true .IP \(bu 4 Type: Boolean .RE 0 .P Show the description in \fBnpm search\fR .SS "\fBsearchlimit\fR" .RS 0 .IP \(bu 4 Default: 20 .IP \(bu 4 Type: Number .RE 0 .P Number of items to limit search results to. Will not apply at all to legacy searches. .SS "\fBsearchopts\fR" .RS 0 .IP \(bu 4 Default: "" .IP \(bu 4 Type: String .RE 0 .P Space-separated options that are always passed to search. .SS "\fBsearchexclude\fR" .RS 0 .IP \(bu 4 Default: "" .IP \(bu 4 Type: String .RE 0 .P Space-separated options that limit the results from search. .SS "\fBregistry\fR" .RS 0 .IP \(bu 4 Default: "https://registry.npmjs.org/" .IP \(bu 4 Type: URL .RE 0 .P The base URL of the npm registry. .SS "\fBprefer-online\fR" .RS 0 .IP \(bu 4 Default: false .IP \(bu 4 Type: Boolean .RE 0 .P If true, staleness checks for cached data will be forced, making the CLI look for updates immediately even for fresh package data. .P This config cannot be used with: \fBprefer-offline\fR .SS "\fBprefer-offline\fR" .RS 0 .IP \(bu 4 Default: false .IP \(bu 4 Type: Boolean .RE 0 .P If true, staleness checks for cached data will be bypassed, but missing data will be requested from the server. To force full offline mode, use \fB--offline\fR. .P This config cannot be used with: \fBprefer-online\fR .SS "\fBoffline\fR" .RS 0 .IP \(bu 4 Default: false .IP \(bu 4 Type: Boolean .RE 0 .P Force offline mode: no network requests will be done during install. To allow the CLI to fill in missing cache data, see \fB--prefer-offline\fR. .SS "See Also" .RS 0 .IP \(bu 4 npm help registry .IP \(bu 4 npm help config .IP \(bu 4 npm help npmrc .IP \(bu 4 npm help view .IP \(bu 4 npm help cache .IP \(bu 4 https://npm.im/npm-registry-fetch .RE 0