LoginSignup
5
5

More than 5 years have passed since last update.

【 Node.js 】インストール済みパッケージ一覧表示 (npm list)

Last updated at Posted at 2017-06-26

Node.jsのパッケージマネージャー(npm)で、
1. パッケージがグローバルインストールされているかCLIから確認したい場合

$ npm -g list | find "確認したいパッケージ名"
  1. 依存パッケージ名を表示させたくない場合は、オプション : --depth=0 を追加。
$ npm -g list --depth=0 | find "確認したいパッケージ名"

※ ローカルインストールされているパッケージを確認したい場合は、グローバルオプション : -g を省く。

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5