Kali in Batch is a batch script-based environment that runs a bash shell with many Kali Linux utilities.
- Download a source code archive from the latest release.
- Run kali_in_batch.bat to start the environment and perform the initial setup.
- During the first run, you will be prompted to assign a drive letter to the root filesystem (e.g., Z:). This drive letter will be used to mount the Kali root filesystem.
- The installer will automatically download dependencies such as Nmap and Neovim using winget.
- The environment will download and set up BusyBox automatically.
- Bash environment with a Kali Linux style shell prompt.
- Comes with Kali Linux utilities you would expect, including:
- Netcat
- Nmap
- Whois
- Usable shell scripting environment
- Simple package manager accessible via the pkg command.
- Update checking mechanism that compares local and remote versions to notify if the installation is outdated.
- Custom shell prompt and aliases for common commands to enhance usability.
- POSIX API reimplementations.
- Run kali_in_batch.bat to launch the Kali in Batch shell.
- On first run, follow the prompts to assign a drive letter and complete setup.
- Login with your username or root when prompted.
- Once setup is complete, enjoy the bash shell with Kali Linux utilities.
This project is licensed under the GPL-2.0-only License. See the LICENSE file for details.
Kali in Batch is a batch script-based environment that runs a bash shell with many Kali Linux utilities on Windows.
Download the latest release from the releases page, run kali_in_batch.bat, and follow the prompts to assign a drive letter and complete setup.
Kali in Batch checks for updates on startup. For minor updates, download the latest release and run .\src\kali_in_batch.bat. For major updates, uninstall first using .\uninstall.bat then reinstall.
Run the uninstall.bat script from the extracted release directory in PowerShell or Command Prompt.
Use the pkg command to install, remove, upgrade, search, and list packages. For example, pkg install <package-name>.
Yes, many utilities are available in the /usr/bin directory and can be used from Windows command prompt by referencing their full path or adding them to your system PATH.
Kali in Batch includes tools like Nmap, Ncat, and a Metasploit Framework wrapper (msfconsole) for ethical hacking and penetration testing.
No, it is a batch script environment that mimics many Linux utilities and behaviors but runs on Windows with some limitations.
POSIX API batch file implementations are located in /usr/lib/posix and the header files are located in /usr/include. See src/lib/posix/README.md for details.
This is because you didn't run the file as Administrator when developer mode was disabled. Run the file as Administrator or enable developer mode to create symlinks.
No, this project is not associated with Kali Linux.
.png)



![How Do CPUs Work? The Engineering That Runs the Digital World [video]](https://www.youtube.com/img/desktop/supported_browsers/chrome.png)