On this page
Installation
Installation
Entra Auth Cli can be installed as a .NET global tool or downloaded as a self-contained executable for your platform.
Option 1: .NET Global Tool (Recommended)
Prerequisites: .NET Runtime 10.0 or later
Install
dotnet tool install -g EntraAuthCli
Update
dotnet tool update -g EntraAuthCli
Uninstall
dotnet tool uninstall -g EntraAuthCli
Verify Installation
entra-auth-cli --version
Option 2: Self-Contained Executables
Download the latest release for your platform from the Releases page.
Windows
- Download
entra-auth-cli-win-x64.exe - Place in a directory in your PATH (e.g.,
C:\Tools\) - Run from command prompt:
entra-auth-cli --version
macOS (Apple Silicon)
- Download
entra-auth-cli-osx-arm64 - Make executable and move to PATH:
chmod +x entra-auth-cli-osx-arm64
sudo mv entra-auth-cli-osx-arm64 /usr/local/bin/entra-auth-cli
- Verify:
entra-auth-cli --version
macOS (Intel)
- Download
entra-auth-cli-osx-x64 - Make executable and move to PATH:
chmod +x entra-auth-cli-osx-x64
sudo mv entra-auth-cli-osx-x64 /usr/local/bin/entra-auth-cli
- Verify:
entra-auth-cli --version
Linux
- Download
entra-auth-cli-linux-x64 - Make executable and move to PATH:
chmod +x entra-auth-cli-linux-x64
sudo mv entra-auth-cli-linux-x64 /usr/local/bin/entra-auth-cli
- Verify:
entra-auth-cli --version
⚠️ Linux Security Note: Linux uses XOR obfuscation for secret storage, not cryptographic encryption. Suitable for development only. See Platform-Specific Guides for production alternatives.
Platform Requirements
Windows
- Windows 10+ (build 1607+)
- Secure storage via DPAPI
macOS
- macOS 10.15+ (Catalina or later)
- Secure storage via Keychain
Linux
- Ubuntu 20.04+, Fedora 35+, or compatible distributions
- XOR obfuscation (not cryptographically secure)
Next Steps
- Quick Start Guide → - Generate your first token
- Complete Tutorial → - Full walkthrough
- Core Concepts → - Understand how it works