fgvm

fgvm is a friendly Godot version manager that lets you install and manage multiple versions of Godot with ease. It uses a hybrid CLI/TUI design with flexible query support, allowing you to find versions using keywords like latest, 4 mono, or 3.3 rc4. It works on Windows, macOS, and Linux with support for both standard and .NET builds.

IMPORTANT This project was previously known as gdvm, but as of 2.0 has now been renamed to fgvm. Most users won't be significantly impacted, but some changes were breaking and will require users to switch over to fgvm; please see this section for information on how to migrate.

Features

Installation

Package managers are the recommended install path because they make upgrades straightforward. If you prefer not to use a package manager, use the install script for your platform; run the same script again later to upgrade. For manual downloads, custom install paths, and checksum commands, see the README installation guide.

Windows Installation

Install using Scoop:

scoop bucket add patricktcoakley https://github.com/patricktcoakley/scoop-bucket
scoop install patricktcoakley/fgvm

🧰 mise

Install directly from GitHub release artifacts:

mise use -g github:patricktcoakley/fgvm
fgvm --version

⚡ Install Script

One-line PowerShell installer:

irm https://raw.githubusercontent.com/patricktcoakley/fgvm/main/installer.ps1 | iex

Run the same command again later to upgrade.

💾 Manual Binary

📥 Download Windows x64 (checksum)

macOS Installation

Install using Homebrew:

brew tap patricktcoakley/formulae
brew trust patricktcoakley/formulae
brew install fgvm

Homebrew 5 requires third-party taps to be trusted before installing formulae from them.

🧰 mise

Install directly from GitHub release artifacts:

mise use -g github:patricktcoakley/fgvm
fgvm --version

⚡ Install Script

curl -fsSL https://raw.githubusercontent.com/patricktcoakley/fgvm/main/installer.sh | sh

Run the same command again later to upgrade.

💾 Manual Binaries

The macOS binaries require macOS 12 or later and are not currently notarized. Prefer the install script above; if you manually download archives, use curl to avoid browser quarantine. See the README manual download instructions for more details.

Linux Installation

Install using Homebrew on Linux:

brew tap patricktcoakley/formulae
brew trust patricktcoakley/formulae
brew install fgvm

Homebrew 5 requires third-party taps to be trusted before installing formulae from them.

🧰 mise

Install directly from GitHub release artifacts:

mise use -g github:patricktcoakley/fgvm
fgvm --version

⚡ Install Script

curl -fsSL https://raw.githubusercontent.com/patricktcoakley/fgvm/main/installer.sh | sh

Run the same command again later to upgrade.

💾 Manual Binaries

The Linux binaries require glibc and do not support musl-based distributions such as Alpine Linux.

🔧 Build from Source (All Platforms)

Clone the repository and build with .NET 10 SDK:

git clone https://github.com/patricktcoakley/fgvm.git
cd fgvm
dotnet build -c Release

📋 View all releases

Quick Usage

Install Godot versions:

fgvm install latest        # Latest stable release
fgvm install latest mono  # Latest .NET stable release
fgvm install 4 mono       # Latest 4.x with .NET support
fgvm install 3.3 rc       # Latest 3.3 release candidate
fgvm install 4.4.1        # Specific version

Set default version:

fgvm set 4.3-stable-mono   # Set specific version as default
fgvm set                   # Interactive version picker

Launch Godot:

fgvm godot                 # Launch effective version
fgvm godot -i              # Interactive version picker
fgvm godot --args "--headless"  # Pass arguments to Godot
fgvm godot --args "--version"   # Print Godot version

Project-specific versions:

fgvm local                 # Detect and set version for current project
fgvm local 4.3 mono        # Set specific version for project
fgvm godot                 # Auto-detects project version

List and manage versions:

fgvm list                  # Show installed versions
fgvm search 4              # Search available versions
fgvm search 4.2 rc         # Search specific release candidates
fgvm remove 3.6-stable-mono # Remove installed version
fgvm which                 # Show current default version location

Commands Reference

Core Commands

fgvm install [<...strings>] [-D|--default] [--with-templates]

Install Godot versions with powerful query system. If no arguments are supplied, prompts interactively.

Query Examples:

The first installed version automatically becomes the default. Use --default (or -D) to explicitly set the installed version as the default regardless of whether other versions are already installed. Use --with-templates to install the matching official export templates after the editor installation succeeds.

fgvm list [--json]

List all locally installed Godot versions showing version, type, runtime, and launch metadata. Use --json to output JSON.

fgvm set [<...strings>]

Set the default Godot version. Prompts interactively if no arguments supplied.

Supports query filtering for partial matches (e.g., 4, 4.4, stable, mono) or exact version matches (e.g., 4.4.1-stable-mono).

fgvm godot [-i|--interactive] [-a|--attached] [-P|--project] [--query <string>] [--args <string>]

Launch Godot with intelligent version detection and project awareness.

Key Features:

Options:

Auto-attached mode for arguments like --version, --help, --headless

fgvm local [<...strings>]

Manage project-specific versions via .fgvm-version files.

Behavior:

fgvm search [<...strings>] [-j|--json] [-F|--no-cache]

Search all available remote Godot versions with filtering.

Use --json or -j to output JSON. Use --no-cache or -F to force a remote refresh instead of using the local release cache.

Query Examples:

fgvm remove [<...strings>]

Remove installed Godot versions with smart selection.

Behavior:

Removing the current default version will unset it.

fgvm which [<...strings>]

Display the executable path for the effective Godot installation in the current directory: .fgvm-version first, then the global default. If query arguments are supplied, it resolves them against installed versions instead.

fgvm logs [--json] [-l|--level <string>] [-m|--message <string>]

View application logs with optional filtering by level or message content.

Export Template Commands

fgvm template install [<...strings>] [--force]

Install the official export template package for an installed Godot version. With no query, fgvm prompts from local Godot installations. With a query, it resolves against local Godot installations only, such as fgvm template install 4.4.1 or fgvm template install 4.4.1 mono.

fgvm template list [-j|--json]

List installed export template directories.

fgvm template remove [<...strings>]

Remove installed export template directories. With no query, fgvm prompts from installed export templates. With a query, it removes the exact match directly or prompts when multiple installed templates match.

Installation Paths

Storage locations:

Folder structure: VERSION-TYPE-RUNTIME (e.g., 4.3-stable-mono)

Symlinks: Created in bin/ folder for easy access via fgvm godot

Project Integration

FGVM integrates seamlessly with Godot projects through:

  1. .fgvm-version files - Explicit version locking
  2. project.godot detection - Automatic version detection from project files
  3. Missing version handling - Prompts to install required versions
  4. Direct launching - fgvm godot opens projects with correct version

Version Query System

FGVM supports flexible version queries, including:

Migrating from gdvm

If you were using this project in the past then you'll know it used to be called gdvm. Prior to this project's creation and after, there have been several other projects with similar goals using the same name.

In an effort to differentiate this project I decided to change the name to stand out, and am also using it as an opportunity to implement some breaking changes due to some recent updates in the libraries I am using to write this tool.

What this means for you

Learn More

For detailed documentation, advanced features, and troubleshooting, visit the full README on GitHub.