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:
- Installing Prism Launcher
- Installing Java
- Migrating from MultiMC
- Create an Instance
- Downloading Modpacks
- Downloading Mods
- OptiFine Alternatives
- Installing OptiFine
- Controller Support
- Command Line Interface
- Change Themes
- CatPacks
- Data storage
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
- Do not point out something in the documentation being incorrect or outdated.
- Instead, open an issue on the prismlauncher.org issue tracker. If you can, please open a pull request to improve the documentation.
- You can use the Edit button at the bottom of each documentation page for this purpose.
- Do not ask support questions. Please use other community platforms instead.
- Do not submit bug reports. Please use the main Prism Launcher repository's issue tracker instead.
- Do not submit feature requests. Please use the Prism Launcher repository's issue tracker repository instead.
- Do not post off-topic comments. Comments must be strictly related to the page they are linked to.
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.