Announcements
i think this might help you get PAC CLI working on macOS with VS Code.
The current Power Platform CLI requires .NET 10 (not the older .NET 6 mentioned in outdated guides).
1. Check your .NET SDK
Run in Terminal:
dotnet --list-sdks
You need a 10.0.x SDK. If you don't have it, install the latest .NET SDK for macOS: https://learn.microsoft.com/dotnet/core/install/macos
Also check if a local global.json file is forcing an older SDK:
global.json
dotnet --info
If it shows 6.x/7.x/8.x, update or remove that global.json file.
2. Install PAC CLI
Install:
dotnet tool install --global Microsoft.PowerApps.CLI.Tool
Or update:
dotnet tool update --global Microsoft.PowerApps.CLI.Tool
Check if it's on your PATH:
which pac
If nothing shows up, add this to your ~/.zshrc:
~/.zshrc
export PATH="$HOME/.dotnet/tools:$PATH"
Then restart Terminal.
3. Test it
pac --version
You should see the version banner. If you get "DotnetToolSettings.xml missing," it's a .NET version mismatch - make sure .NET 10 is installed and no global.json is selecting an older SDK.
Alternative options:
dnx
dnx Microsoft.PowerApps.CLI.Tool --yes help
Best regards, Valantis
✅ If this helped solve your issue, please Accept as Solution so others can find it quickly. ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :). 🏷️ For follow-ups @Valantis. 📝 https://valantisond365.com/
Quick fix steps (macOS + VS Code + PAC CLI):
Install .NET 6 SDK (required)
brew install --cask dotnet-sdk@6
Verify installation
dotnet --version dotnet --list-sdks
You should see something like 6.0.xxx.
6.0.xxx
Install Power Platform CLI
Ensure global tools path exists
echo 'export PATH="$PATH:$HOME/.dotnet/tools"' >> ~/.zshrc source ~/.zshrc
Test PAC CLI
If it prints a version → installation succeeded.
Common issue: .NET installed but PAC not found → PATH missing ~/.dotnet/tools. I hope this helps!
.NET installed but PAC not found
~/.dotnet/tools
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 993
Valantis 675
11manish 545