Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PeterAtDjeeni
Frequent Visitor

pbiviz command is not found

Hi,

 

I want to setup a new custom visual development environment on my Win10. Installed (as admin, systemwide, from Powershell):

- nodejs 14.17.2. node starts properly from CLI.

- npm i -g powerbi-visuals-tools (3.2.3). I can see it with npm -g list

- npm i -g powerbi-visuals-api (3.8.2). I an see it with npm -g list, too

 

Now, the whole internet says that at this point the command pbiviz is just simple accessible from CLI (Powershell run as administrator). Not by me as an admin on my machine (even after Set-ExecutionPolicy Unrestricted): PowerShell says pbiviz is not recognized as a command, operable program ... . No troubleshoot of this step anywhere. Please give me tips what to look at/how to access pbiviz?

1 ACCEPTED SOLUTION
PeterAtDjeeni
Frequent Visitor

So, the solution is that:

- npm even with -g installs all packages to the actual user and not systemwide; and

- powershell -when it runs with admin rights- still runs the commands with the environment of the user who logged in.

You must run powershell as the logged in user and install packages for yourself (with -g). There are no systemwide packages.

View solution in original post

1 REPLY 1
PeterAtDjeeni
Frequent Visitor

So, the solution is that:

- npm even with -g installs all packages to the actual user and not systemwide; and

- powershell -when it runs with admin rights- still runs the commands with the environment of the user who logged in.

You must run powershell as the logged in user and install packages for yourself (with -g). There are no systemwide packages.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors