Required Environment
Fusion requires at least PHP 8.1.0 to run. Check the installed version on
your system:
php -v
Ensure the required curl and recommended zip extensions are available:
php -m
Note
If the zip extension is missing, Fusion will use the built-in Phar
extension to process archives, which uses more memory.
Prebuilt Generic Package
For a user-wide standalone installation from scratch, we use a prebuilt
executable package from the
generic package registry.
Start PowerShell as Administrator and download the compressed
standalone-build.tar.gz archive for version 1.1.0:
Invoke-WebRequest -Uri "https://gitlab.com/api/v4/projects/62331610/packages/generic/fusion/1.1.0/standalone-build.tar.gz" `
-OutFile "$env:USERPROFILE\Downloads\fusion-1.1.0.tar.gz"
Create the required user directories:
New-Item -ItemType Directory -Force `
-Path "$env:USERPROFILE\Valvoid\Fusion","$env:USERPROFILE\Valvoid\bin"
Extract the archive into the installation directory:
tar -xzf "$env:USERPROFILE\Downloads\fusion-1.1.0.tar.gz" `
-C "$env:USERPROFILE\Valvoid\Fusion"
Create a launcher batch file:
Set-Content "$env:USERPROFILE\Valvoid\bin\fusion.bat" `
-Value '@php "$env:USERPROFILE\Valvoid\Fusion\fusion" %*'
Add the binary directory to your PATH variable (takes effect in new
sessions) and restart PowerShell or open a new session to load it:
setx PATH "$env:USERPROFILE\Valvoid\bin;$env:PATH"
Verify the installation:
fusion -v
Note
The documentation points to a fixed, documented version. To get the latest release, for example with patches, use the update steps below.
Recursive Update
To update Fusion without breaking changes, open PowerShell and run the
build command:
fusion build "dir.path=$env:USERPROFILE\Valvoid\Fusion"
Note
For upgrade, see the Upgrade page in the documentation if any.