Upgrading
There are 4 ways for upgrading Forge:
- Snap
- Package manager
- Docker
- Binary
Snap
Use the following command for upgrading Forge to the latest stable version:
sudo snap refresh forge
Package manager
Download a package file from Releases page.
*.deb for Debian and Ubuntu, *.rpm for CentOS and RedHat.
Install it using the package manager.
{{#tabs }} {{#tab name="Debian / Ubuntu (x64)" }}
wget https://github.com/forgeui/forge/releases/\
download/v2.15.0/forge_2.15.0_linux_amd64.deb
sudo dpkg -i forge_2.15.0_linux_amd64.deb
{{#endtab }}
{{#tab name="Debian / Ubuntu (ARM64)" }}
wget https://github.com/forgeui/forge/releases/\
download/v2.15.0/forge_2.15.0_linux_arm64.deb
sudo dpkg -i forge_2.15.0_linux_arm64.deb
{{#endtab }}
{{#tab name="CentOS (x64)" }}
wget https://github.com/forgeui/forge/releases/\
download/v2.15.0/forge_2.15.0_linux_amd64.rpm
sudo yum install forge_2.15.0_linux_amd64.rpm
{{#endtab }}
{{#tab name="CentOS (ARM64)" }}
wget https://github.com/forgeui/forge/releases/\
download/v2.15.0/forge_2.15.0_linux_arm64.rpm
sudo yum install forge_2.15.0_linux_arm64.rpm
{{#endtab }} {{#endtabs }}
Docker
Binary
Migrating from Snap to package/binary
Snap installation is deprecated. If you are migrating from Snap to a package or binary installation on the same host and were using BoltDB, ensure you move the BoltDB file and repositories directory and update the corresponding paths in config.json for database.boltdb and tmp_path. Also adjust file ownership for the service user (e.g., forge).
Download a *.tar.gz for your platform from Releases page. Unpack the binary to the directory where your old Forge binary is located.
{{#tabs }} {{#tab name="Linux (x64)" }}
wget https://github.com/forgeui/forge/releases/\
download/v2.15.0/forge_2.15.0_linux_amd64.tar.gz
tar xf forge_2.15.0_linux_amd64.tar.gz
{{#endtab }}
{{#tab name="Linux (ARM64)" }}
wget https://github.com/forgeui/forge/releases/\
download/v2.15.0/forge_2.15.0_linux_arm64.tar.gz
tar xf forge_2.15.0_linux_arm64.tar.gz
{{#endtab }}
{{#tab name="Windows (x64)" }}
Invoke-WebRequest `
-Uri ("https://github.com/forgeui/forge/releases/" +
"download/v2.15.0/forge_2.15.0_windows_amd64.zip") `
-OutFile forge.zip
Expand-Archive -Path forge.zip -DestinationPath ./
{{#endtab }} {{#endtabs }}