locked
List all npm packages RRS feed

  • Question

  • User-1418567014 posted

    How can I know the npm packages installed?

    There is a command at https://www.npmjs.com/package/package-list

    I have installed npm I believe. Can we run it in dos command line at C:\Windows\system32?

    ./node_modules/.bin/packages

    Because I got the error 

    '.' is not recognized as an internal or external command, operable program or batch file.

    Monday, February 22, 2016 8:50 PM

Answers

  • User2050872319 posted

    Hi ardmore,

    To list installed npm packages, you can use the following command in the command prompt:

    npm ls

    The docs are here: https://docs.npmjs.com/cli/ls

    Check if you have npm installed on your system by typing npm in the command prompt

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 22, 2016 9:38 PM

All replies

  • User2050872319 posted

    Hi ardmore,

    To list installed npm packages, you can use the following command in the command prompt:

    npm ls

    The docs are here: https://docs.npmjs.com/cli/ls

    Check if you have npm installed on your system by typing npm in the command prompt

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 22, 2016 9:38 PM
  • User-1418567014 posted

    No I meant to list all packages developed and published on the web. This includes installed ans uninstalled. I want to know what I can use so I want to see the entire list.

    Monday, February 22, 2016 9:53 PM
  • User2050872319 posted

    Why would you want to list all published packages on the web, there's more than 200 000 of them.

    You can search for packages either on www.npmjs.com website, or use commandline option:

    npm search <keyword>

    Monday, February 22, 2016 10:57 PM