User Tools

Site Tools


install

Installing Fabric

Regular installation

MultiMC

NOTE MultiMC is a modding-friendly alternate launcher for Minecraft, which is recommended for working with Fabric and can be found here. If you don't wish to use MultiMC or don't know or care what launcher you're using, follow through to the regular client instructions.

  1. Create a new game instance.
  2. Select “Edit Instance” in the instance context menu or on the right side of the window.
  3. On the Version tab of the configuration window, click “Install Fabric” to bring up a dialog with all the available Fabric Loader versions. Pick one and click OK to add it to the instance.
    • Generally using the latest available Loader version is recommended.
    • The loader should be mostly game version-independent. If this situation changes, it will be pointed out, so don't worry!
  4. Press OK. Your Fabric instance is ready to go - feel free to add mods to it!

For more detailed instructions visit this guide: Install Fabric - MultiMC (Windows) for Windows or this guide: Install Fabric - MultiMC (macOS) for macOS

Mojang's Minecraft Launcher

  1. Download the Fabric installer from the download page.
  2. Open the installer. In the window you need to configure the mapping and loader version (as per advice in the MultiMC section) and the install location (the default should be fine on most platforms).
    NOTE You need to enable snapshots in order to make the installer show mapping options for Minecraft snapshots.
  3. Press Install. A new game version and profile will be created in the launcher's menu, which you can now use to launch Fabric.

For more detailed instructions visit this guide: Install using the Minecraft Launcher

Server (simple method)

The new server installation uses a single jar file as a launcher. This launcher first downloads any missing Fabric Loader or Minecraft files, then continues with running the game server. There is no explicit installation and the desired versions as selected on the homepage are already baked into this jar file.

  1. Visit the Minecraft Server download page and configure the desired versions, then use the Executable Server (.jar) button to generate and download the Fabric Server Launcher jar file
  2. Put the Fabric Server Launcher jar file into a directory of your choice, local or on a remote server
  3. Run the server with java -Xmx2G -jar <fabric server launcher jar file name> nogui, the exact command is provided on the download website in step 1

With Minecraft specific server hosts, admin panels or start scripts the Fabric Launcher jar file can be used as a drop-in replacement for a vanilla server jar. It can be invoked in the same way and behaves similarly.

Server (manual method)

Note: Minecraft 1.17 requires Java 16, Minecraft 1.18 requires Java 17. This is not included in most distributions. You can check your version with java -version. You may get Java 16 from 3rd parties like AdoptOpenJDK or Azul Zulu.

Note: Up-to-date as of Loader 0.4.4+. Older versions choose different techniques. Installer 0.4.0+ required!

  1. Download the Fabric installer from the Minecraft Server download page with the manual installation link below the download button or the Minecraft Launcher download page as if it was a client install.
  2. Open the installer. Select the “Server” tab at the top of the window.
  3. In the window you need to configure the mapping and loader version and the install location.
    NOTE You need to enable snapshots in order to make the installer show mapping options for Minecraft snapshots.
  4. Press Install. In the output directory, a fabric-server-launch.jar will be created. It expects a server.jar, which is the vanilla server JAR, generally found on Mojang's version announcement blog posts, next to it, but will also generate a properties file on first launch where you can change the path.
    NOTE If you are upgrading your existing server, remember to remove the .fabric folder if the installer did not remove that for you! Or you will get classloading errors.
  5. When uploading to a remote host, make sure to include fabric-server-launcher.jar, server.properties, server.jar and the libraries folder with its contents

For more detailed instructions visit:

CLI installation

The fabric installer has full support from installing the client and the server from the command line. This could be used to automate the installation. The installer has a number of commands that can be used for a headless install.

Available options

  • -snapshot Enables the usage of snapshot versions of Minecraft.
  • -dir Used to select the installation dir, defaults to the current working directory.
  • -mcversion Used to select the minecraft version, defaults to the latest stable version.
  • -loader Used to select the loader version, defaults to the latest.
  • -downloadMinecraft Used to automatically download the Minecraft server jar
  • -noprofile Skip creating client profile
  • -mavenurl (advanced) Use a custom maven url when installing
  • -metaurl (advanced) Use a custom meta server url

Available commands

  • help Prints out all of the commands available along with the latest mappings and loader versions. Ignores options. Example:
    java -jar fabric-installer.jar help
  • server Used to create the required files for a Fabric server. Accepts all options, none are required. Example:
    java -jar fabric-installer.jar server
  • client Used to create the required files for a Fabric client. Accepts all options, -dir is required. Example:
    java -jar fabric-installer.jar client -dir "~/Games/.minecraft"
install.txt · Last modified: 2022/05/15 11:33 (external edit)