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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors