3

Windows and macOS are being mentioned a few times on docs.substrate.io, but the Substrate CI does not run tests on there.
Now my question; what are the officially supported OS?
With "officially supported" I mean that its a safe choice for validators.

1 Answer 1

6

The only "safe" choice is Linux. As you already mentioned, we only test on Linux, and most validators also run on Linux. For macOS, we only ensure that it compiles because a lot of developers are running on macOS. We also have some performance optimization around Wasm execution that is only for Linux/macOS. Windows is not really supported. We probably compile on Windows, but not that much more support is provided. The Linux subsystem should be used on Windows to get the best compatibility.

1
  • Just to clarify the situation on macOS. The support is limited. For example, we make sure that it compiles, but we don't run tests for it. It's only meant for developers, and it's discouraged to run production code on macOS. This may change in the future.
    – pepyakin
    Sep 8, 2022 at 12:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.