Installation

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

Install

1
dotnet tool install -g EntraTokenCli

Update

1
dotnet tool update -g EntraTokenCli

Uninstall

1
dotnet tool uninstall -g EntraTokenCli

Verify Installation

1
entratool --version

Option 2: Self-Contained Executables

Download the latest release for your platform from the Releases page.

Windows

  1. Download entratool-win-x64.exe
  2. Place in a directory in your PATH (e.g., C:\Tools\)
  3. Run from command prompt:
1
entratool --version

macOS (Apple Silicon)

  1. Download entratool-osx-arm64
  2. Make executable and move to PATH:
1
2
chmod +x entratool-osx-arm64
sudo mv entratool-osx-arm64 /usr/local/bin/entratool
  1. Verify:
1
entratool --version

macOS (Intel)

  1. Download entratool-osx-x64
  2. Make executable and move to PATH:
1
2
chmod +x entratool-osx-x64
sudo mv entratool-osx-x64 /usr/local/bin/entratool
  1. Verify:
1
entratool --version

Linux

  1. Download entratool-linux-x64
  2. Make executable and move to PATH:
1
2
chmod +x entratool-linux-x64
sudo mv entratool-linux-x64 /usr/local/bin/entratool
  1. Verify:
1
entratool --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