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.

Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


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, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency