Three Ways To Run Kali Linux

There are three main ways to run Kali Linux, each with tradeoffs:

For most people learning Kali — especially if you just want to try it out or use a few tools — a virtual machine is the right choice. This guide uses VirtualBox because it's free, well-supported, and the official Kali team provides pre-built VirtualBox images.

Why Use a Virtual Machine?

💡 Pro tip: If you ever need to download an unknown file or program from the internet, do it in a VM first. If it's malicious, your host computer is protected.

What You'll Need

⚠️ Apple Silicon note: If you have an M1/M2/M3/M4 Mac, you need VirtualBox 7.1 or later (which added native Apple Silicon support) and the Kali Linux ARM64 image — not the standard amd64 image. The x86 image will not work on Apple Silicon. See the dedicated section below.

Step 1: Download & Install VirtualBox

For Mac (Intel)

  1. Go to the VirtualBox download page
  2. Click "macOS / Intel hosts"
  3. Also download the Extension Pack (one universal pack for all platforms)
  4. Open the downloaded .dmg and run the installer
  5. Once installed, double-click the Extension Pack file to install it

For Mac (Apple Silicon — M1/M2/M3/M4)

  1. Go to the VirtualBox download page
  2. Click "macOS / ARM64" (this is the Apple Silicon version)
  3. Download the Extension Pack
  4. Install the .dmg, then the Extension Pack

For Windows

  1. Download "Windows hosts" from the VirtualBox download page
  2. Download the Extension Pack
  3. Run the .exe installer (you may need to allow it in Windows Defender)
  4. Double-click the Extension Pack to install
VirtualBox download page
⚠️ macOS kernel driver: On macOS, the first time you run VirtualBox you may see a security warning about a "system extension" being blocked. Go to System Settings → Privacy & Security, scroll down to the message about Oracle, and click Allow. Then restart your Mac.

Step 2: Download the Kali Linux VirtualBox Image

The Kali team provides pre-built VirtualBox images that require zero configuration — just import and run.

  1. Go to kali.org/get-kali/#kali-virtual-machines
  2. Click VirtualBox
  3. Choose your architecture:
    • amd64 — for Intel/AMD Mac and Windows PCs
    • ARM64 — for Apple Silicon Macs (M1/M2/M3/M4) and ARM-based Windows
  4. Download the file (it's a .7z archive — about 3-4 GB)
Kali Linux VirtualBox image download

Extract the .7z file

The downloaded file is compressed in 7-zip format. You'll need to extract it before importing.

Terminal — macOS / Linux
# Install 7z if not present (macOS via Homebrew) $ brew install p7zip # Extract the archive $ 7z x kali-linux-2026.1-virtualbox-amd64.7z

On Windows, install 7-Zip, then right-click the file and choose 7-Zip → Extract Here.

After extraction, you'll have a folder containing:

Step 3: Add the Kali VM to VirtualBox

Older guides used File → Import Appliance for an .ova file. Modern Kali images use the more efficient Add method:

  1. Open VirtualBox
  2. Click Machine → Add (or press Cmd+A on Mac, Ctrl+A on Windows)
  3. Navigate to the extracted folder and select the .vbox file
  4. Click Open
  5. The Kali VM appears in your VirtualBox manager
Import Kali Linux VM in VirtualBox

Optional: Adjust resources

Before starting the VM, you may want to give it more resources. Click the VM, then Settings:

Step 4: Start Kali Linux

Click the green Start arrow to boot the VM. After a few seconds, you'll see the Kali login screen.

Start Kali Linux VM

Log in with the default credentials:

FieldValue
Usernamekali
Passwordkali
ℹ️ Default credentials change: Older Kali versions (pre-2020.1) used root / toor. Modern Kali (2020.1+) uses kali / kali as a non-root user. If you find old tutorials suggesting root/toor — they're outdated.

Once you're logged in, the first thing to do is update the system:

Terminal — kali@kali
$ sudo apt update && sudo apt full-upgrade -y

Updating is only the first step. For the full setup routine — changing the default password, setting up a firewall, installing tools, and making Kali comfortable to use — follow my guide to the 25 things to do after installing Kali Linux. If the terminal is new to you, the beginner commands guide covers everything you need.

Apple Silicon (M1/M2/M3/M4) Specific Setup

Apple Silicon Macs require slightly different steps because they use the ARM64 architecture instead of x86/amd64.

Key differences:

ℹ️ Alternatives for Apple Silicon: Many users prefer UTM (free) or VMware Fusion 13+ on Apple Silicon Macs. Both have more polished Apple Silicon support than VirtualBox. Parallels Desktop also works well but is paid.

If you can't find ARM64 in VirtualBox version selector

When creating the VM manually, set:

Installing Additional Kali Tools (Metapackages)

The default Kali VirtualBox image includes a curated set of tools. To install more, Kali uses "metapackages" — bundles of related tools. New to Kali? Start with the top 10 Kali Linux tools and keep our bash commands cheatsheet handy.

Terminal — kali@kali
# See available metapackages $ sudo apt search kali-tools # Install everything (warning: 10+ GB) $ sudo apt install kali-linux-everything # Install just wireless tools $ sudo apt install kali-tools-wireless # Other useful subsets $ sudo apt install kali-tools-web # Web app testing $ sudo apt install kali-tools-passwords # Password tools $ sudo apt install kali-tools-forensics # Digital forensics $ sudo apt install kali-tools-top10 # Top 10 tools
Kali Linux Metapackages

Controlling VMs from the Command-Line with VBoxManage

VirtualBox includes a CLI tool called VBoxManage for controlling VMs from the terminal. Useful for scripting or running headless instances.

Terminal — VBoxManage commands
# List all VMs $ VBoxManage list vms # List currently running VMs $ VBoxManage list runningvms # Start a VM (with GUI) $ VBoxManage startvm "Kali" # Start headless (no window) $ VBoxManage startvm "Kali" --type headless # Pause / resume / reset / power off $ VBoxManage controlvm "Kali" pause $ VBoxManage controlvm "Kali" resume $ VBoxManage controlvm "Kali" reset $ VBoxManage controlvm "Kali" poweroff $ VBoxManage controlvm "Kali" savestate # Take a snapshot $ VBoxManage snapshot "Kali" take "before-experiment"

Troubleshooting Common Issues

"Kernel driver not installed" on macOS

This is the most common error on macOS. Solution: Go to System Settings → Privacy & Security and click Allow next to the Oracle/VirtualBox blocked extension message. Restart your Mac, then try again.

VM won't start: "VT-x is not available"

Your CPU's virtualization extensions are disabled in BIOS/UEFI. Reboot your computer, enter BIOS, and enable Intel VT-x (Intel) or AMD-V (AMD).

"Failed to import appliance" error

Usually means VirtualBox is too old for the image, or the .ova/.7z file is corrupted. Update to VirtualBox 7.x and re-download the image.

Internet doesn't work in the VM

Check VM Settings → Network. Adapter 1 should be set to NAT (default) or Bridged Adapter. NAT works for most cases. If using a USB WiFi adapter, see our WiFi adapter guide.

VM is extremely slow

Allocate more RAM (4–8 GB) and CPU cores (2–4) in Settings → System. Enable hardware acceleration (VT-x/AMD-V). Don't allocate more than half your host's resources or the host will become sluggish.

Frequently Asked Questions

What's the default Kali Linux username and password in 2026?

For Kali 2020.1 and later: username is kali, password is kali. Older Kali versions used root / toor, but those credentials no longer work on modern Kali.

Can I run Kali on Apple Silicon (M1/M2/M3/M4)?

Yes. Use VirtualBox 7.1+ for ARM64 with the Kali ARM64 image, or alternatively use UTM, VMware Fusion 13+, or Parallels Desktop. The standard amd64 Kali image will not work on Apple Silicon.

Should I use the .ova or .7z Kali image?

Modern Kali ships as .7z archives. After extracting, you get a .vbox + .vdi pair which you add via Machine → Add. The older .ova format is no longer the default.

How much RAM and disk space does Kali VirtualBox need?

Minimum: 2 GB RAM, 20 GB disk. Recommended: 4–8 GB RAM, 40+ GB disk. The Kali VM image alone is around 12 GB after extraction; add tools and the disk fills quickly.

Can I use my laptop's WiFi for hacking inside the VM?

No. VirtualBox can't pass raw wireless capabilities (monitor mode, packet injection) through to the VM — only virtualized networking. For wireless pentesting from a VM, you need a USB WiFi adapter passed through via USB. See our WiFi adapter guide.

What's the difference between Kali Linux Light and the full version?

The "Light" version includes only the top 10 tools. The full image includes hundreds. The Light VM uses less disk space and runs faster, but you'll need to install metapackages for additional tools. For most users, the standard image is fine.

Can I install Kali on VMware instead of VirtualBox?

Yes — Kali provides VMware images alongside VirtualBox. VMware Workstation Pro is now free for personal use, and VMware Fusion has better Apple Silicon support than VirtualBox. The choice mostly comes down to preference.