Docs / Start here
Install
On Linux and macOS, run:
curl -fsSL https://raw.githubusercontent.com/poplar-mc/poplar/main/install.sh | shOn Windows, run this in PowerShell:
irm https://raw.githubusercontent.com/poplar-mc/poplar/main/install.ps1 | iexThe script downloads the latest release for your platform and installs poplar with its standard library. On Linux and macOS it installs to ~/.local, and on Windows to %LOCALAPPDATA%\Programs\poplar. To install somewhere else, set POPLAR_PREFIX.
Update
Section titled “Update”poplar update checks for a newer release and asks before it installs one. See the CLI page for its options.
Language server
Section titled “Language server”Poplar comes with a language server, which you start with poplar lsp. It reports errors as you type and handles hover, go to definition and completion.
Build from source
Section titled “Build from source”Building Poplar yourself needs Zig 0.17.0:
git clone https://github.com/poplar-mc/poplar.gitcd poplar/compilerzig build -Doptimize=ReleaseSafe -p ~/.localThis installs the compiler to ~/.local/bin/poplar and the standard library to ~/.local/lib/poplar/std/.
The compiler looks for the standard library at ../lib/poplar/std next to its binary. If you move the binary, set POPLAR_STD to the standard library folder.
MIT licensed. The standard library is MIT-0.Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.