Kali Portable ships with an automated installer script —Documentation Index
Fetch the complete documentation index at: https://mintlify.com/V0rt3xS0urc3/RedTeam-Portfolio/llms.txt
Use this file to discover all available pages before exploring further.
install-on-new-pc.sh — that handles every dependency from scratch. It detects whether Docker is installed, checks for an NVIDIA GPU, builds the full Docker image from the included Dockerfile, and downloads all required wordlists and Hashcat rules into the ./data/ directory. On a brand-new Linux machine you only need Git and an internet connection; the script takes care of everything else.
Prerequisites
- Git — to clone the repository
- Linux host — Ubuntu, Debian, Arch, or any systemd-based distribution; macOS and WSL2 are not officially supported for the WiFi auditing features
- NVIDIA drivers (optional) — install them through your distribution’s package manager before running the installer if you want GPU-accelerated Hashcat
Installation Steps
Clone the Repository
Clone the RedTeam Portfolio repository and navigate into the
kali-portable directory:Make the Installer Executable and Run It
Grant execute permission to the installer script, then run it. No arguments are needed — the script is fully interactive and self-contained:
What the Installer Does Automatically
The installer works through four stages and handles all of the following without manual intervention:
- ✅ Installs Docker — if Docker is not found, it fetches and runs the official
get.docker.cominstaller and adds your user to thedockergroup - ✅ Configures NVIDIA GPU — detects
nvidia-smiand validates that the NVIDIA Container Toolkit is working; if GPU support is absent, Hashcat falls back to CPU automatically - ✅ Builds the Docker image — runs
docker buildagainstkali-portable/docker/Dockerfileand tags the result askali-pentest-full; skips the build if the image already exists - ✅ Downloads
rockyou.txt(~133 MB) — fetched from the official Kali Linux package repository and placed in./data/wordlists/ - ✅ Copies Hashcat rules — extracts
best64.rule,d3ad0ne.rule,T0XlC.rule,leetspeak.rule, and the rest of the bundled rule set from the image into./data/rules/ - ✅ Downloads gobuster wordlists — fetches
common.txtfrom the SecLists repository into./data/wordlists/ - ✅ Sets permissions —
chowns the entire./data/tree to your current user and makes all scripts in./scripts/executable
Installation takes approximately 30–45 minutes, depending on your internet connection speed. The Docker image build step is the longest phase since it installs 100+ packages and clones several tools from GitHub.
Manual Docker Build (Alternative)
If you prefer to build the image manually without running the installer — for example, on a system where you have already configured Docker yourself — navigate to thedocker/ directory and run:
Updating and Rebuilding the Image
To rebuild the image with the latest Kali Linux packages and tool versions, use--pull and --no-cache to force a fresh build: