Using Prism Launcher via the Command Line

Usage: prismlauncher [-h] [-v] [-d <dir>] [-l <launch>] [-s <server>] [-a <profile>] [-I <import>] [--show <show>] [--alive] [--help-all]

Options:
  -d, --dir <directory>    Use a custom path as application root (use '.' for current directory)
  -l, --launch <instance>  Launch the specified instance (by instance ID)
  -s, --server <address>   Join the specified server on launch (only valid in combination with --launch)
  -a, --profile <profile>  Use the account specified by its profile name (only valid in combination with --launch)
  --alive                  Write a small 'live.check' file after the launcher starts
  -I, --import <file>      Import instance from specified zip (local path or URL)
  --show <show>            Opens the window for the specified instance (by instance ID)
  -h, --help               Displays help on commandline options.
  --help-all               Displays help, including generic Qt options.
  -v, --version            Displays version information.

What is an instance ID, and where do I find it?

The instance ID is the name of the folder where your instance is contained.

To find it, right-click on the instance you want to know the ID of, and then click on Instance Folder within the context menu.

Now, just copy the name of the folder that opened.

Prism Launcher is still opening after I close Minecraft

Currently, the Close Prism Launcher after game window opens option opens Prism Launcher after closing Minecraft, even when launched from the CLI.

To disable this, open Settings, then select Minecraft, and finally, un-check Close Prism Launcher after game window opens or check Quit the launcher after game window closes.


Pages in Getting Started:

Comment Rules

By submitting a comment, you agree to uphold the Prism Launcher Code of Conduct.

✅ What user-contributed comments are for

  • Share additional information relevant to the article.
  • Mention a workaround for a common issue.
  • Link to useful third-party resources that are relevant to the current page, such as tutorials or articles.
    • It is allowed to occasionally link to resources you've created. When doing so, you must disclose your affiliation with the resource in some way. However, linking to resources you've created should not represent the majority of your interactions with user notes. Excessive self-promotion is not allowed and will be moderated away.

🚫 What user-contributed comments are not for

Comments not following the above rules will be removed.

Licensing of user-contributed comments

Launcher contributors may occasionally go through the comments and may incorporate information from them in the documentation. By submitting a comment, you accept that it may be incorporated in unmodified or modified form in the launcher and/or documentation, subject to the GPL-3.0 license for the launcher and AGPL-3.0 license for the documentation.