How to get more information about npm using brew command


If you want to know more information about npm formula, then you can make use of the info command,

mac % brew info npm

node: stable 16.6.1 (bottled), HEAD
Platform built on V8 to build network applications

https://nodejs.org/

/opt/homebrew/Cellar/node/15.14.0 (2,808 files, 47.1MB) *
  Poured from bottle on 2021-04-19 at 22:38:59
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/node.rb

License: MIT

==> Dependencies
Build: pkg-config ✘, python@3.9 ✘
Required: brotli ✔, c-ares ✔, icu4c ✘, libuv ✘, nghttp2 ✘, openssl@1.1 ✔

==> Options

--HEAD
	Install HEAD version

==> Analytics
install: 365,981 (30 days), 1,091,087 (90 days), 4,511,789 (365 days)
install-on-request: 287,143 (30 days), 855,154 (90 days), 3,410,641 (365 days)
build-error: 0 (30 days)

As you can see in the above output, you get all the information such as the version, license, dependencies as well as the stability and size of the installation.




Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.