Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

What is NPM?

(1) ShareShare
ReportReport
Posted on by 945

Hi, 

 

I'm sorry for I believe this is a very basic thing in this group, but what is NPM ?

 I just starting to learn PowerApps component, and on one of learning guide, they tell me to :

  1. Install PowerApps CLI, Done.
  2. Run Command prompt
  3. Go to my documents folder by "cd %userprofile%\documents" which I did and succeeded.
  4. mkdir PickListFilter (I'm not sure what is that, but probably will know soon after)
  5. cd PickListFilter
  6. Initialize the component by "pac pcf init -ns Contoso  -n PickListFilter -t field", which I did and succeded.
  7. Then run "npm install"

At that step, I failed since it is "not recognized". From what tools is that ? 

And what are step no 6 doing actually mean ?

 

Kindly help.

 

Thanks.

  • Hemant Gaur Profile Picture
    on at
    Re: What is NPM?

    Looks like this part was missed, we will get the docs updated with the latest information. In the meanwhile please install node.js which has npm Download | Node.js (nodejs.org) 

     

    Thanks,

    Hemant 

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: What is NPM?

    Yes, the CLI is a separate tool. You still need:

    • .net 4.6.2,
    • NPM,
    • and Visual Studio Code.
  • Axal Profile Picture
    945 on at
    Re: What is NPM?

    Hi,

     

    Thanks for replying, but I'm not sure I am fully understand about it. I have installed PowerApps CLI, does it mean I still need to install those on step 1 to 3 ?

     

    Thanks,

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: What is NPM?

    Hi @Axal , 

     

    npm is a nodejs package manager.

    I've searched in the docs history and took this pcf prequirements.

    //----------------------

    Install Microsoft PowerApps CLI

    To get Microsoft PowerApps CLI, do the following:

    1. Install Npm (comes with Node.js) or Node.js (comes with npm). We recommend LTS (Long Term Support) version 10.15.3 LTS because it seems to be the most stable.

    2. Install .NET Framework 4.6.2 Developer Pack.

    3. If you don’t already have Visual Studio 2017 or later, follow one of these options:

    4. Install Microsoft PowerApps CLI.

    5. To take advantage of all the latest capabilities, update the PowerApps CLI tooling to the latest version using this command: 

      pac install latest

     

    //------------------------

    I have no idea why I cannot find them there anymore, but at least the "npm" part can be took from there.

    Hope this helps!

     

    Kind regards,

    Diana

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard