Skip to content
MCU Atlas

PiKVM: open-source IP-KVM on Raspberry Pi

Remote keyboard, video and mouse control of any computer over the network, even in the BIOS, using a Raspberry Pi.

Difficulty:IntermediateSource available

Photos

PiKVM: open-source IP-KVM on Raspberry Pi photo 1
PiKVM: open-source IP-KVM on Raspberry Pi photo 2
PiKVM: open-source IP-KVM on Raspberry Pi photo 3

Photos: pikvm/pikvm

Key Facts

  • DIY boards (V1/V2 platforms): Raspberry Pi 2, 3, 4, 5 or Zero 2 W
  • DIY build: V2 platform recommended for Pi 4, Pi 5 and Zero 2 W
  • Capture: HDMI-to-CSI bridge or USB dongle
  • Emulation: USB HID + mass storage
  • Access: web UI
  • V3/V4 transmission (upstream README, checked 2026-11-19): H.264 video, audio, microphone and web camera - pikvm.org pitches web camera forwarding for VoIP; the DIY V1/V2 platforms go without these. Measured latency (WarpKVM glass-to-glass bench, checked 2026-11-24): the V4 Plus delivers 57.3 ms with the H.264 boost option on (WebRTC H.264 at 60 fps; 60.9 ms at stock 30 fps settings) - median of 300 runs over wired gigabit
  • Zero 2 W route (checked 2026-11-18): board sold out at PiShop.us, CanaKit and Adafruit ($16.35-$19.05 list where shown); CanaKit bundles in stock from $87.95; TC358743 HDMI-CSI bridge $24.99 direct at Waveshare, $29.99-$33 at Amazon and Geekworm
  • Ready-made vs a commercial IP-KVM: the assembled prices below are the maker's own shop list (pikvm.org/buy, USD excl. VAT, checked 2026-11-24) - the honest yardstick before paying for a commercial IP-KVM box
  • V3 route - Raspberry Pi 4-based (checked 2026-11-24 on pikvm.org/buy, USD excl. VAT): pre-assembled V3 $236.44 at PiShop.ca to $569.48 at DirekTronik across shops listed in stock; V3 HAT without case $149.03 at ThePiHut, the only in-stock HAT listing. pikvm.org sells the V3 fully assembled (Pi 4 and case included) or as a HAT board kit for your own Pi 4, and caps its video mode at 1080p 50 Hz, below the V4's 60 Hz
  • V4 route - Compute Module 4-based (checked 2026-11-24 on pikvm.org/buy, USD excl. VAT): V4 Mini $238.21-$275 and V4 Plus $331.68-$524.85 across shops listed in stock, CM4 included - no standard Pi inside; PiShop.us holds Mini $275 / Plus $385. pikvm.org positions the Plus as its flagship and the Mini as the budget-friendly model, and Jeff Geerling's June 2026 hands-on test of every IP KVM in his homelab anchors them at about $400 and about $270 with 1080p60 capture, ATX power control and the GPLv3 stack
  • PiKVM Switch multiport extender (checked 2026-11-24 on pikvm.org/buy, USD excl. VAT): $238.21-$349.86 across shops listed in stock (Core Electronics, Kubii, PiShop.ca, HiPi.io, RaspberryPi.dk) - the add-on that gives one PiKVM four ports, chainable to 20
  • Budget alternative - Sipeed NanoKVM (checked 2026-11-18 on Amazon): Lite $46.99 bare board (no case, no microSD, no ATX control or OLED); Full $75.99 complete kit with case, OLED, pre-flashed microSD and ATX power board; NanoKVM-PCIe about $149 mounts inside a desktop's PCIe slot
  • Mid-rung alternative - JetKVM (checked 2026-11-24 via WarpKVM's bench review): about $103, 1080p60 capture, open source; measured 59.8 ms glass-to-glass on the same bench as the V4 Plus's 57.3 ms (both H.264 at 1080p60) - 'Best software polish per dollar, mid-pack latency'
  • NanoKVM tradeoffs vs V4: 100 Mbps Ethernet (V4 is gigabit); H.264 still marked work-in-progress by Sipeed, so MJPEG is the safe path; RISC-V SoC with a smaller community than Raspberry Pi; powered from the host's USB port, silent and tiny
Price ladder of network KVM options: TC358743 HDMI-CSI bridge $24.99 to $33.00, Sipeed NanoKVM Lite $46.99, NanoKVM Full $75.99, JetKVM about $103 (added at our 2026-11-24 check, per WarpKVM's bench review), NanoKVM-PCIe about $149, PiKVM V4 Mini $275.00 at PiShop.us and $309.95 on Amazon, PiKVM V4 Plus $385.00 at PiShop.us and $429.95 on Amazon
Every route into a network KVM on one ladder: the HDMI-CSI bridge part that powers the Pi 4 DIY build, Sipeed's budget NanoKVM line (the Full kit, not the Lite, is the beginner option - it adds the case, pre-flashed card and ATX power control), the JetKVM value pick, and the ready-made PiKVM V4 kits at PiShop.us and Amazon prices. The bridge is one part of a DIY build, not a whole KVM by itself. JetKVM added at our 2026-11-24 check: about $103 with 1080p60 capture and an open-source stack - WarpKVM's bench review calls it 'Best software polish per dollar, mid-pack latency' and 'the value benchmark' for most of the result at a quarter of the V4 money (warpkvm.com/blog/pikvm-review). (MCU Atlas - plotted from our verified price data, fact sheet 2026-11-18; JetKVM figures from WarpKVM's review, checked 2026-11-24)

About This Project

PiKVM turns a Raspberry Pi into an IP-KVM: it captures the target computer's HDMI output, emulates a USB keyboard, mouse and mass storage device, and serves it all in a browser. You can install an OS remotely, reboot via ATX control and fix machines that won't boot. The DIY route is the V2 platform on a Raspberry Pi 4 (a Pi 5 or Zero 2 W also works) with an HDMI-to-CSI bridge — and that Pi 4 build is what the parts list below prices. The ready-made hardware splits by board: the V3 line, pre-assembled or as a V3 HAT fitted to your own Pi 4, runs on a Raspberry Pi 4, while the V4 Mini and V4 Plus are built around a Compute Module 4 that ships inside the kit — which is why those kits cost more (today's kit prices are in the facts list above). The ready-made V3 and V4 devices also transmit H.264 video, audio, a microphone and even a web camera to the remote machine - the maker now pitches web camera forwarding for VoIP - extras the DIY V1/V2 platforms go without (upstream README and pikvm.org, checked 2026-11-19). In numbers: WarpKVM's October 2026 glass-to-glass bench puts the V4 Plus at 57.3 milliseconds with the H.264 boost option enabled (60.9 ms at stock settings), and the JetKVM covered below lands 2.5 ms behind it, at 59.8.

One PiKVM, many hosts: the PiKVM Switch

A ready-made PiKVM controls one computer out of the box; the PiKVM Switch, the maker's multiport extender, is how one unit becomes a multi-host KVM. Each of its four ports carries its own ATX power control and EDID settings plus an HDMI dummy plug, so every host always sees a display, and the whole thing is managed from the same Web UI - firmware updates included. Video and keyboard/mouse control focus on one host at a time, while ATX power status and control stay available for every connected host at once. Switches chain, up to five of them for twenty fully functional ports on a single PiKVM, so you add ports as your fleet grows instead of replacing the KVM. It works with the V4 Plus, the V3 and DIY V1/V2 builds on a Pi 2 through Pi 4, but not with the V4 Mini or Zero-based DIY builds - those boards lack the USB host ports it needs (pikvm.org and docs.pikvm.org/switch, checked 2026-11-19; street prices in the facts list).

The smallest DIY build: a Pi Zero 2 W

The Zero 2 W runs the same V2 platform with a few parts of its own: a TC358743-based HDMI-CSI bridge (HDMI-to-USB dongles are not an option on this board), the upstream docs' magic cable - a USB-A to micro-USB cable with the power line cut, because the Zero 2 W's two micro-USB ports share power - plus the Zero camera cable, the official micro-USB PSU and a microSD card. There is no Ethernet jack, so this build runs over Wi-Fi, and the prebuilt Zero 2 W image is still published upstream, so the software side is just a flash away. One honest warning from our latest check: the Zero 2 W board itself was sold out at PiShop.us, CanaKit and Adafruit, with only bundle kits in stock - see the dated availability note in the facts list before planning a build around it. The Pi 4 route the parts list below prices is the dependable DIY path today.

Cheaper alternatives: the Sipeed NanoKVM

The ready-made PiKVM kits are polished, but they are not the only way to get a network KVM. Sipeed's NanoKVM line does the same job - BIOS-level video, keyboard, mouse and mass storage over the network - from a board the size of a thumb drive that draws its power from the host computer's own USB port. The catch is in the details: its Ethernet port tops out at 100 Mbps where the V4 kits are gigabit, and Sipeed itself still marks H.264 video encoding as work-in-progress, so the safe path today is MJPEG, which needs more bandwidth for the same picture. The Lite version is a bare board: you supply and flash the microSD card, and there is no case or ATX power control (the add-on board that presses the host PC's power button for you). The Full kit adds all three, which makes it the real beginner option. Current prices for all of these product lines are in the comparison table and facts list, checked on our latest pass. If you are comfortable flashing a card and the network ceiling does not scare you, it is a genuine budget route into remote KVM; if not, the kits or the Pi 4 build above remain the safe choices.

JetKVM vs PiKVM: the value question

Between the NanoKVM line and the V4 kits sits the JetKVM, and it asks the question a DIYer actually wants answered: is a ready-made PiKVM worth roughly four times the money? On measured latency, nearly not - WarpKVM's bench puts the JetKVM at 59.8 milliseconds glass-to-glass against the V4 Plus's 57.3, both H.264 at 1080p60 - and the JetKVM already streams finished H.264 at 1080p60 from an open-source stack, the encoding polish the NanoKVM line is still working toward (Sipeed marks its H.264 work-in-progress). The review's verdict: 'Best software polish per dollar, mid-pack latency', and 'the value benchmark' if you want most of the result for a quarter of the money. What the V4 premium buys instead, per the same review's own Plus row, is the 'Most mature ecosystem, ATX + LTE, swappable CM4' - plus the multi-host Switch path covered above. Our call for a first KVM: one machine to rescue now and then, the JetKVM; a fleet to manage, ATX control and room to grow, the V4 kits or the Pi 4 build this page prices.

PiKVM: open-source IP-KVM on Raspberry Pi

How to Build It

PiKVM turns a Raspberry Pi into a KVM over IP. You can see a computer's HDMI output in a browser and control it with an emulated USB keyboard and mouse, even in the BIOS or when no OS is installed. It can also mount ISO images as a virtual drive and switch the machine's power on or off.

Parts Needed

  • Raspberry Pi 4, 5 or Zero 2 W (the recommended V2 platform; Pi 2 and 3 use the older V1 build, which lacks mass-storage emulation)
  • HDMI-to-CSI bridge (TC358743) or a USB HDMI capture dongle
  • USB-C splitter or cable so the Pi can act as a USB device to the target while still getting power
  • microSD card (16GB+) and a good power supply
  • Optional: ATX control board for power and reset

Steps

  1. 1

    Choose your platform

    The DIY 'V2' platform takes a Pi 4 (recommended), Pi 5 or Zero 2 W with a CSI bridge for the lowest latency (H.264); the older V1 plans cover the Pi 2 and 3. A USB capture dongle is easier but limited to MJPEG. Choose before downloading, because each hardware setup has its own OS image.

  2. 2

    Flash the OS

    Download the matching PiKVM OS image from pikvm.org and write it to the microSD card with Raspberry Pi Imager or a similar tool.

  3. 3

    Connect the hardware

    Attach the capture device to the Pi's CSI port or USB. Connect the Pi's USB-C OTG port to the target computer, using a splitter so power comes from a separate supply, and run HDMI from the target into the capture device.

  4. 4

    First boot and login

    Boot the Pi, find its IP address and open it in a browser. Log in with the default admin credentials from the docs, then change both the web password and the root password straight away.

  5. 5

    Configure extras

    Upload ISO images for virtual-media boot. If you have ATX wiring, enable power control. Set up HTTPS, 2FA or VPN access before exposing it beyond your LAN.

  6. 6

    Tips

    PiKVM OS keeps its root filesystem read-only. Run rw before making changes and ro when you're done. The docs at docs.pikvm.org and the Discord are the best places for help.

Available as a complete kit

Ready-made IP-KVM devices — the V3 runs on a Raspberry Pi 4, the V4 Mini/Plus on a Compute Module 4 (CM4 included)

Part details in our parts library
Buy from PiKVM

Bill of Materials

Parts list

4 parts · 2 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

1× Raspberry Pi 4

The Pi 4 for the DIY V2 build and the V3 HAT route — 4GB recommended, $100 list and in stock at PiShop.us (checked 2026-11-14); V4 Mini/Plus kits use a Compute Module 4 instead.

1× HDMI-CSI bridge

TC358743 bridge for the V2 DIY build - $24.99 direct at Waveshare is the cheapest we found; $29.99-$33 on Amazon and Geekworm (checked 2026-11-18)

No verified link — check the original project
No verified link — check the original project

Not included: 3D-printed case, wire, solder, USB cable

Download CSV

Community

Other community builds

The build this page covers is the walkthrough; other makers have taken the same idea in different directions. Here is how they compare.

BuildWhat it adds vs the PiKVM V4 kitsDifficultyKey parts
Budget pickSipeed NanoKVM FullA complete KVM at roughly a quarter of the V4 Mini price: $75.99 on Amazon with case, OLED, pre-flashed microSD and ATX power board in the box, powered from the host's USB port. Gives up gigabit (100 Mbps Ethernet) and finished H.264 - Sipeed's own wiki marks H.264 work-in-progress, so MJPEG is the safe path today.Beginner (pre-flashed card included)SOPHGO SG2002 RISC-V SoC, 256 MB RAM, host-USB powered
Sipeed NanoKVM LiteThe cheapest entry at $46.99 on Amazon - bare board and heatsink only. You supply and flash the microSD card, and there is no case or ATX power control. Same 100 Mbps Ethernet and MJPEG caveats as the Full.Confident beginner (you flash the card)SOPHGO SG2002 RISC-V SoC, 256 MB RAM, host-USB powered
Value pickJetKVMThe mid-rung value pick at around $103: a ready-made box with 1080p60 capture and an open-source stack. WarpKVM's bench review calls it 'Best software polish per dollar, mid-pack latency' - 59.8 ms glass-to-glass, about 2.5 ms behind the V4 Plus on the same test - and 'the value benchmark' if you want most of the result for a quarter of the money.None - pre-assembled1080p60 HDMI capture, open-source stack
Ready-madePiKVM V4 Mini (ready-made)The plug-and-play answer this page's DIY build imitates: $275 at PiShop.us ($309.95 on Amazon) with gigabit Ethernet, finished H.264, ATX control and the Raspberry Pi ecosystem behind it. The larger V4 Plus is $385 at PiShop.us ($429.95 on Amazon).None - pre-assembledCompute Module 4 included, HDMI-CSI capture

Swipe the table sideways to see the Difficulty and Key parts columns.

Which one should you try? Buying on a budget: pick the NanoKVM Full, not the Lite - ATX power control and a pre-flashed card are worth the difference for a first KVM. The JetKVM-vs-PiKVM question, answered: on WarpKVM's bench the JetKVM lands 2.5 ms behind the V4 Plus (59.8 vs 57.3 ms glass-to-glass, both H.264 at 1080p60), so the V4 premium is not buying latency - per the same review it buys the 'Most mature ecosystem, ATX + LTE, swappable CM4'. Pick the JetKVM for BIOS-level control of one machine at a quarter of the money; pick the V4 Mini or Plus for the ecosystem, ATX control and the multi-host Switch path. NanoKVM prices checked 2026-11-18; JetKVM and latency figures checked 2026-11-24.

NanoKVM figures are Sipeed's own (wiki.sipeed.com, fetched 2026-11-18): 1080p60 capture, 100 Mbps Ethernet, MJPEG with H.264 marked work-in-progress, about 1 W drawn from the host's USB port. PiKVM kit prices from PiShop.us and Amazon search listings, same date. JetKVM figures are WarpKVM's own bench review (warpkvm.com/blog/pikvm-review and /blog/ip-kvm-latency-benchmarks, fetched 2026-11-24): around $103, 1080p60, open source, 59.8 ms glass-to-glass - note WarpKVM is itself a KVM vendor. PiKVM kit ranges on the facts list re-checked on pikvm.org/buy 2026-11-24.

Still choosing a board? The Raspberry Pi hub rounds up more Raspberry Pi projects, guides and parts.

Related Projects

Pi-hole: network-wide ad blocking on Raspberry Pi
Illustration
RASPBERRY PIPI-ZERO-2-W
A DNS sinkhole that blocks ads and trackers for every device on your network, classic first Raspberry Pi project.
Beginner·Code
3 parts listed
MagicMirror2: modular smart mirror on Raspberry Pi
Illustration
RASPBERRY PIPI-4
Open-source modular smart-mirror software showing calendar, weather and news behind a two-way mirror, usually on a Pi.
Intermediate·Code
4 parts listed
Hyperion.ng: ambient TV backlight on a Raspberry Pi
Illustration
RASPBERRY PIPI-4
Open-source bias lighting: a Raspberry Pi reads the picture and drives LED strips behind your TV to match it, with 39 built-in effects.
Intermediate·Code
4 parts listed

Free printable: the First-Build Checklist

One page, 22 concrete items — the parts, tools and safety checks every first-time builder needs before powering on. Join The Bench (one email a week) and we'll send it straight to your inbox.

One email a week, every Thursday. Unsubscribe anytime.