Buy it on Steam, install the editor, and you can play community games immediately — or start making your own.
s&box is available on Steam (App ID 590830, $19.99) for Windows. Installing it gives you the full sandbox — the engine, the editor, and the Hammer-style map tools — plus the in-game browser of community games.
You don't need to install or subscribe to anything to play — community games run with a single click from the in-game browser, and you can party up with friends without setting up a server. Assets stream from the cloud, so there's no manual downloading.
The engine source is on GitHub under the MIT License. If you want to compile it yourself, Facepunch lists these requirements:
The repository and full build steps are at Facepunch/sbox-public. New to development? Start with the developer wiki.
Community wiki — not affiliated with Facepunch Studios. For the latest and most authoritative information, see the official developer wiki.