Getting Started
date: 06/28/2026
Revised: 10/4/2026
Welcome to Anvil.
Section titled “Welcome to Anvil.”This guid will walk you through cloning, building, and creating games with Anvil
Requirements
Section titled “Requirements”Before building Anvil, youll need to install the following tools:
- Git
- Premake5
- Highly recommend installing premake into your system PATH
- VulkanSDK 1.4.357 or newer
- Make sure to also include the shaderc library when installing
For Windows
Section titled “For Windows”- Visual Studio 2022 or newer (Desktop development with C++)
For Mac
Section titled “For Mac”- MoltenVK (can be downloaded with the vulkan SDK installer)
Clone the Repository
Section titled “Clone the Repository”Clone the workspace and all required submodules.
git clone --recursive -b dev https://github.com/AnvilStudio/AnvilWorkspace.gitIf you’ve already cloned the repository without submodules:
git submodule update --init --recursiveGenerate Project Files
Section titled “Generate Project Files”Open a terminal, navigate to the cloned repositories directory, and open the AnvilWorkspace folder.
Windows
Section titled “Windows”Generate the Visual Studio solution.
type the following command.
premake5 vs2022If using a newer version of Visual Studio, type premake5 vs<your-version>
This creates the solution used to build the engine and editor.
Use this command
premake5 gmake --macos-renderer=<api-option>where <api-option> can either be metal or vulkan.
on all platforms, you have 3 configurations.
- DebugG
- Additional debugging options enabled for graphics API debugging
- Mainly Vulkan specific
- Debug
- General debug build
- Release
- Windowed app, optimizations on, and most debug logging disabled. Ment for distrobution
Debug configuration is highly recommended. Release can cause undefined behavior from a lack of testing
Windows
Section titled “Windows”Open the generated solution in Visual Studio. Ensure Forge is set to the start project
press F5.
Dependencies will compile first, followed by the engine, then the editor.
open the ProjectCreator folder.
run forge_launcher.py, passing in the full path to your AnvilWorkspace folder
python forge_launcher.py <path-to-AnvilWorkspace>open the AnvilWorkspace folder in a terminal.
Vulkan: Read the engines README.md (Important Notices) for further information regarding selecting the appropriate driver
run the ProjectCreator/run_macos.command there.
Forge Launcher
Section titled “Forge Launcher”Click settings.
- Set the
Forge Executableto the correct executable you just built. - Set your
Projects Directoryto your desired location to create and work on projects.
Click Create Project, Give it a name and click Ok
Launch your new project
Questions?
Section titled “Questions?”Contact me any day. Your feedback will help push the engines development!
- email: caydenjordan05@gmail.com
- instagram: @cj.cpp
Next Steps
Section titled “Next Steps”Once the editor is running, consider exploring:
- Creating entities
- Using the Inspector
- Working with the Viewport
- Building scenes
- Reading the latest Dev Logs
Anvil is under active development, so expect frequent improvements and new engine features.