web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Answered

Pac linux

(0) ShareShare
ReportReport
Posted on by 16

Hi community!

So I'm trying to set up an environment to build and deploy powerplatform solutions using pac cli... on linux

I have an ubuntu machine and I have my code IDE up and running with pac configured and I've been able to export, unpack and pack solutions using the pac cli commands from a terminal inside the vs code.

 

Has anyone been able to run the cli outside of the visual code context shell?

Thanks in advance

I have the same question (0)
  • Verified answer
    David Jenni Profile Picture
    Microsoft Employee on at

    The pac CLI is "xcopy" (or in the macOS/linux world more appropriately, "cp -R") installable, i.e. it's sufficient to unzip the downloaded macOS or linux nupkg into a local folder, and call the executable from that location.

    This is also what our CliAcquisition.ts code does within our VSCode extension; unfortunately, the .nupkg does not capture/restore the +x file attribute, so make sure to `chmod +x pac` the pac executable (see line 89 in that same file).

    For most users, we don't advocate or advertise to run pac CLI directly from the .nupkg, but it is supported since we leverage that mechanism ourselves (not only in the VSCode extension, but also in our GH Actions and AzDevOps tasks).

    Our reservation stems from the extra setup steps needed like chmod, but also since the pac CLI won't auto update itself.

     

    If you see pac CLI issues beyond the chmod, please do report issues on our VSCode issue tracker:
    https://github.com/microsoft/powerplatform-vscode/issues

     

  • jjaramillo Profile Picture
    16 on at

    Hi david!

    Thanks for the quick response.

    Will try your proposed solution and let you know

    Have a nice day!

  • jjaramillo Profile Picture
    16 on at

    Hi David

    Worked like a charm!
    Thank you very much

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard