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.
Rootless 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:
setopt INTERACTIVE_COMMENTS
# download generic package archive
curl -fL "https://gitlab.com/api/v4/projects/62331610/packages/generic/fusion/1.1.0/standalone-build.tar.gz" \
-o "$HOME/Downloads/fusion-1.1.0.tar.gz" &&
# create dirs if not yet
mkdir -p "$HOME/.local/bin" "$HOME/.valvoid/fusion" &&
# append created bin dir to user profile
echo 'export PATH="$HOME/.local/bin:$PATH"' >> "$HOME/.zprofile" &&
# reload profile to add bin dir to PATH variable
source "$HOME/.zprofile" &&
# extract downloaded archive into created dir
tar -zxf "$HOME/Downloads/fusion-1.1.0.tar.gz" \
-C "$HOME/.valvoid/fusion" &&
# remove extracted archive
rm "$HOME/Downloads/fusion-1.1.0.tar.gz" &&
# make CLI file executable
chmod +x "$HOME/.valvoid/fusion/fusion" &&
# create symlink to make Fusion user-wide accessible
ln -s "$HOME/.valvoid/fusion/fusion" "$HOME/.local/bin/fusion" &&
# 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:
setopt INTERACTIVE_COMMENTS
# let Fusion build itself recursively
fusion build dir.path="$HOME/.valvoid/fusion" &&
# make CLI file executable
chmod +x "$HOME/.valvoid/fusion/fusion" &&
# verify installation
fusion -v
System-Wide Root Package
For a system-wide standalone installation from scratch, install a prebuilt initial package from the generic package registry into the optional software directory:
setopt INTERACTIVE_COMMENTS
# download generic package archive
sudo curl -fL "https://gitlab.com/api/v4/projects/62331610/packages/generic/fusion/1.1.0/standalone-build.tar.gz" \
-o "$HOME/Downloads/fusion-1.1.0.tar.gz" &&
# create dirs if not yet
sudo mkdir -p "/opt/valvoid/fusion" &&
# extract downloaded archive into created dir
sudo tar -zxf "$HOME/Downloads/fusion-1.1.0.tar.gz" \
-C "/opt/valvoid/fusion" &&
# remove extracted archive
sudo rm "$HOME/Downloads/fusion-1.1.0.tar.gz" &&
# make CLI file executable
sudo chmod +x "/opt/valvoid/fusion/fusion" &&
# create symlink to make Fusion system-wide accessible
sudo ln -s "/opt/valvoid/fusion/fusion" "/usr/local/bin/fusion"
# 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:
setopt INTERACTIVE_COMMENTS
# let Fusion build itself recursively
sudo fusion build dir.path="/opt/valvoid/fusion" &&
# make CLI file executable
sudo chmod +x "/opt/valvoid/fusion/fusion" &&
# verify installation
fusion -v