Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Building on Midnight with Windows — A Real Developer's WSL2 Setup Guide

DEV Community·Gutopro·about 1 month ago
#MZjA0Hdl
Reading 0:00
15s threshold

If you're on Windows and you want to build on Midnight, the first thing you need to know is that Midnight's toolchain — the Compact compiler, proof server, and the rest — are Linux binaries. They won't run natively on Windows. Full stop. That doesn't mean you're locked out. Windows has a feature called WSL2 — Windows Subsystem for Linux — that gives you a real Linux environment running inside Windows. Once it's set up you get a proper Ubuntu terminal, access to all the Linux dev tools you need, and a stable foundation for Midnight development. I set up my entire Midnight development environment on WSL2. This guide documents exactly what I did — including the parts that aren't obvious and the parts that caught me off guard. Step 1: Enable WSL2 Microsoft has official documentation for enabling WSL2. Follow that guide to get WSL installed on your machine before continuing here. 👉 Enable WSL2 on Windows — Official Microsoft Guide Come back here once WSL is enabled and you have Ubuntu running.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More