Windows
Installer for Windows 10/11 (x64)
Detected
Petroleum
Latest version: 0.6.5
Currently available for Windows. Download the compiler and start building!
Before installing Petroleum, you'll need Go installed on your system. Petroleum compiles your code to Go, then uses the Go compiler to create native executables.
Note: Go 1.20 or later is recommended. After installing, make sure it's in your PATH. Verify by running go version in your terminal.
Installer for Windows 10/11 (x64)
DetectedUniversal installer for Apple Silicon and Intel
Coming SoonmacOS support is planned for a future release.
Binary tarball (x86_64)
Coming SoonLinux support is planned for a future release.
Get syntax highlighting, code snippets, and language support for Petroleum in your favorite editor.
Syntax highlighting, snippets, and auto-indentation for .pet files
Works with: Visual Studio Code, VSCodium, Cursor, Windsurf, and other VS Code-based editors
.vsix file above.vsix file and select itAfter installation, any .pet file will automatically have syntax highlighting, code snippets, and smart indentation.
I hope you find Petroleum useful, and I hope you find it fun to use. If you have any questions, comments, or suggestions, please email me at jer@petroleum.codes.