Installation link Entra Token CLI can be installed as a .NET global tool or downloaded as a self-contained executable for your platform.
Prerequisites : .NET Runtime 10.0 or later
1
dotnet tool install -g EntraTokenCli
1
dotnet tool update -g EntraTokenCli
Uninstall link 1
dotnet tool uninstall -g EntraTokenCli
Verify Installation link Option 2: Self-Contained Executables link Download the latest release for your platform from the Releases page .
Download entratool-win-x64.exe Place in a directory in your PATH (e.g., C:\Tools\) Run from command prompt: macOS (Apple Silicon) link Download entratool-osx-arm64 Make executable and move to PATH: 1
2
chmod +x entratool-osx-arm64
sudo mv entratool-osx-arm64 /usr/local/bin/entratool
Verify: macOS (Intel) link Download entratool-osx-x64 Make executable and move to PATH: 1
2
chmod +x entratool-osx-x64
sudo mv entratool-osx-x64 /usr/local/bin/entratool
Verify: Download entratool-linux-x64 Make executable and move to PATH: 1
2
chmod +x entratool-linux-x64
sudo mv entratool-linux-x64 /usr/local/bin/entratool
Verify: ⚠️ Linux Security Note : Linux uses XOR obfuscation for secret storage, not cryptographic encryption. Suitable for development only. See Platform-Specific Guides for production alternatives.
Windows 10+ (build 1607+) Secure storage via DPAPI macOS 10.15+ (Catalina or later) Secure storage via Keychain Ubuntu 20.04+, Fedora 35+, or compatible distributions XOR obfuscation (not cryptographically secure) Next Steps link