Kali Linux Win-KeX on WSL2

Win-KeX provides a graphical desktop environment for Kali Linux running on Windows Subsystem for Linux (WSL2).

1. Install Win-KeX

Update the package list:

sudo apt update

Install Win-KeX:

sudo apt install -y kali-win-kex

2. Launch Win-KeX

Window Mode — Run the Kali desktop in a dedicated window with sound support.

kex --win -s

Enhanced Session Mode — Start an RDP-based desktop session with sound support.

kex --esm --ip -s

Seamless Mode — Run Kali applications alongside Windows applications.

kex --sl -s

3. Launch from Windows

Run Win-KeX directly from Windows Terminal or Command Prompt.

Window Mode:

wsl -d kali-linux kex --win -s

Enhanced Session Mode:

wsl -d kali-linux kex --esm --ip -s

Seamless Mode:

wsl -d kali-linux kex --sl -s

4. Install Additional Kali Tools

Install Kali’s larger collection of security tools:

sudo apt install -y kali-linux-large

5. Help Commands

Display available options:

kex --help

Open the manual:

man kex

 

Install Qt on Windows with MSYS2

Launch MSYS2 UCRT64 from your Windows Start menu.

Note: MSYS2 recommends the UCRT64 environment for standard C++ Windows development. If you need the legacy MSVCRT runtime, open MINGW64 instead and replace ucrt-x86_64 with x86_64 in the package names below.

pacman -Syu
pacman -S --needed mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja
# Core Qt6 base libraries
pacman -S mingw-w64-ucrt-x86_64-qt6-base

# Additional Qt6 tools (Qt Designer, Assistant, Linguist)
pacman -S mingw-w64-ucrt-x86_64-qt6-tools
pacman -S mingw-w64-ucrt-x86_64-qt-creator

 

Integrate DeepSeek with Codex

macOS / Linux users, run in the terminal:

bash <(curl -fsSL https://cdn.deepseek.com/api-docs/codex-deepseek-setup-en.sh)

Windows users, run in PowerShell:

irm https://cdn.deepseek.com/api-docs/codex-deepseek-setup-en.ps1 | iex

 

Install PostgreSQL Command-line tools on Windows

EnterpriseDB (the official provider of Windows binaries) offers standalone ZIP files containing everything you need. This requires no installation wizard and leaves your Windows Registry clean.

1.Download the Binaries:Takes 1 min.

Go to the EnterpriseDB Windows Binaries Download Page. Choose your preferred PostgreSQL version and click the download link next to Windows x86-64.

2.Extract the Folder:Takes 1 min.

Extract the downloaded ZIP file. Inside, you will see a pgsql folder. Move this folder somewhere permanent, like C:\pgsql. Your CLI tools sit right inside C:\pgsql\bin.

3.Add to System PATH:Takes 2 min.

To run tools like psql from any command prompt, add it to your environment variables:

  1. Search for “Environment Variables” in the Windows Start menu.

  2. Click Environment Variables… at the bottom.

  3. Under System variables, select Path and click Edit….

  4. Click New and paste your bin path: C:\pgsql\bin.

  5. Click OK on all windows to save.

4.Verify Installation:Takes 30 seconds.

Open a completely new Command Prompt (cmd) or PowerShell terminal and verify it works by typing:

psql --version
pg_dump --version

 

Install codebase-memory-mcp

One-line install (macOS / Linux):

curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

With graph visualization UI:

curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash -s -- --ui

Windows (PowerShell):

# 1. Download the installer
Invoke-WebRequest -Uri https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.ps1 -OutFile install.ps1

# 2. (Optional but recommended) Inspect the script
notepad install.ps1

# 3. Run it
.\install.ps1

Options: --ui (graph visualization), --skip-config (binary only, no agent setup), --dir=<path> (custom location).

Restart your coding agent. Say “Index this project” — done.

Graph Visualization UI

If you downloaded the ui variant:

codebase-memory-mcp --ui=true --port=9749

Open http://localhost:9749 in your browser. The UI runs as a background thread alongside the MCP server — it’s available whenever your agent is connected.

Auto-Index

Enable automatic indexing on MCP session start:

codebase-memory-mcp config set auto_index true

When enabled, new projects are indexed automatically on first connection. Previously-indexed projects are registered with the background watcher for ongoing git-based change detection. Configurable file limit: config set auto_index_limit 50000.

Keeping Up to Date

codebase-memory-mcp update

The MCP server also checks for updates on startup and notifies on the first tool call if a newer release is available.

Uninstall

codebase-memory-mcp uninstall

Removes all agent configs, skills, hooks, and instructions. Does not remove the binary or SQLite databases.

Add “Open in Alacritty” right-click context menu option in KDE CachyOS

mkdir -p ~/.local/share/kio/servicemenus/
nano ~/.local/share/kio/servicemenus/alacritty_here.desktop
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;
Actions=openAlacrittyHere;
X-KDE-Priority=TopLevel
X-KDE-Protocols=file

[X-Action-Collection]
Name=AlacrittyActions

[Desktop Action openAlacrittyHere]
Name=Open Alacritty Here
Icon=Alacritty
Exec=alacritty --working-directory %f
chmod +x ~/.local/share/kio/servicemenus/alacritty_here.desktop
killall dolphin && dolphin & disown