Installation
Azure Nuke can be installed using several methods depending on your preferences and platform.
Homebrew (Recommended for macOS/Linux)
Prerequisites
- macOS 10.14+ or Linux
- Homebrew installed
Install
Update
Python Package (pip)
Prerequisites
- Python 3.8 or higher
- pip package manager
Install
Update
Binary Download
Download pre-built binaries for your platform from GitHub Releases.
Supported Platforms
| Platform | Architecture | Binary Name |
|---|---|---|
| Linux | AMD64 | aznuke-linux-x64 |
| Linux | ARM64 | aznuke-linux-arm64 |
| macOS | AMD64 | aznuke-darwin-x64 |
| macOS | ARM64 | aznuke-darwin-arm64 |
| Windows | AMD64 | aznuke-windows-x64.exe |
Installation Steps
- Download the appropriate binary for your platform
- Make it executable (Linux/macOS):
- Move to your PATH:
Development Installation
For development or contributing:
# Clone the repository
git clone https://github.com/sojay/azure-nuke.git
cd azure-nuke
# Install in development mode
pip install -e .
# Install development dependencies
pip install -r requirements.txt
Verification
Verify your installation:
Azure Authentication
Azure Nuke uses Azure's default authentication chain. Set up authentication using one of these methods:
Azure CLI
Service Principal
export AZURE_CLIENT_ID="your-client-id"
export AZURE_CLIENT_SECRET="your-client-secret"
export AZURE_TENANT_ID="your-tenant-id"
Managed Identity
If running on Azure resources, managed identity will be used automatically.
Next Steps
- Usage Guide - Learn how to use Azure Nuke
- Configuration - Set up exclusions and preferences