Required Environment
Fusion requires at least PHP 8.1.0 to run. Also ensure the required curl
and recommended zip extensions are available.
Note
If the zip extension is missing, Fusion will use the built-in Phar
extension to process archives, which uses more memory.
User-Wide Package
For a user-wide standalone installation from scratch, install a prebuilt initial package from the generic package registry into your home directory:
# download generic package archive
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 dirs
New-Item -ItemType Directory -Force `
-Path "$env:USERPROFILE\Valvoid\Fusion","$env:USERPROFILE\Valvoid\bin";
# extract downloaded archive into created dir
tar -xzf "$env:USERPROFILE\Downloads\fusion-1.1.0.tar.gz" `
-C "$env:USERPROFILE\Valvoid\Fusion";
# remove extracted archive
Remove-Item "$env:USERPROFILE\Downloads\fusion-1.1.0.tar.gz";
# create launcher batch file
Set-Content "$env:USERPROFILE\Valvoid\bin\fusion.bat" `
-Value "@php $env:USERPROFILE\Valvoid\Fusion\fusion %*";
# extend PATH variable
setx PATH "$env:USERPROFILE\Valvoid\bin;$env:PATH";
Restart PowerShell to update PATH variable and verify installation:
fusion -v
The documentation points to a fixed, documented version 1.1.0. To get the
latest release without breaking changes, for example with patches, or
dependency updates, use the
build command
and let Fusion build itself like any other package recursively:
# let Fusion build itself recursively
fusion build dir.path="$env:USERPROFILE\Valvoid\Fusion";
# verify installation
fusion -v
System-Wide Admin Package
For a system-wide standalone installation from scratch, install a prebuilt initial package from the generic package registry into the common software directory as administrator:
# download generic package archive
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 dirs if not yet
New-Item -ItemType Directory -Force `
-Path "C:\Program Files\Valvoid\Fusion","C:\Program Files\Valvoid\bin";
# extract downloaded archive into created dir
tar -xzf "$env:USERPROFILE\Downloads\fusion-1.1.0.tar.gz" `
-C "C:\Program Files\Valvoid\Fusion";
# remove extracted archive
Remove-Item "$env:USERPROFILE\Downloads\fusion-1.1.0.tar.gz";
# create launcher batch file
Set-Content "C:\Program Files\Valvoid\bin\fusion.bat" `
-Value '@php "C:\Program Files\Valvoid\Fusion\fusion" %*';
# extend PATH variable
setx /M PATH "C:\Program Files\Valvoid\bin;%PATH%"
Restart PowerShell for the updated PATH to take effect. Verify the
installation by checking the version as a regular system user in a new
terminal session, without Administrator:
fusion -v
The documentation points to a fixed, documented version 1.1.0. To get the
latest release without breaking changes, for example with patches, or
dependency updates, use the
build command
and let Fusion build itself like any other package recursively:
# let Fusion build itself recursively
fusion build dir.path="C:\Program Files\Valvoid\Fusion";
# verify installation
fusion -v