Skip to main content
ComfyUI Portable is a standalone packaged complete ComfyUI Windows version that has integrated an independent Python (python_embeded) required for ComfyUI to run. You only need to extract it to use it. Currently, the portable version supports running through Nvidia GPU or CPU. This guide section will walk you through installing ComfyUI Portable.

Download ComfyUI Portable

You can get the latest ComfyUI Portable download link by clicking the link below

Download ComfyUI Portable

After downloading, you can use decompression software like 7-ZIP to extract the compressed package The file structure and description after extracting the portable version are as follows:

How to Launch ComfyUI

Double click either run_nvidia_gpu.bat or run_cpu.bat depending on your computer’s configuration to launch ComfyUI. You will see the command running as shown in the image below ComfyUI Portable Command Prompt When you see something similar to the image
At this point, your ComfyUI service has started. Normally, ComfyUI will automatically open your default browser and navigate to http://127.0.0.1:8188. If it doesn’t open automatically, please manually open your browser and visit this address.
During use, please do not close the corresponding command line window, otherwise ComfyUI will stop running

First Image Generation

After successful installation, you can refer to the section below to start your ComfyUI journey~

First Image Generation

This tutorial will guide you through your first model installation and text-to-image generation

Additional ComfyUI Portable Instructions

1. Upgrading ComfyUI Portable

You can use the batch commands in the update folder to upgrade your ComfyUI Portable version

2. ComfyUI Model Sharing and Custom Model Directory Configuration

If you are also using A1111 or want to customize your model storage location, you can modify the following file to complete the configuration
Please copy and rename the extra_model_paths.yaml.example to extra_model_paths.yaml. Below is the original configuration file content, which you can modify according to your needs
For example, if your WebUI is located at D:\stable-diffusion-webui\, you can modify the corresponding configuration to
This way, models under paths like D:\stable-diffusion-webui\models\Stable-diffusion\ can be detected and used by ComfyUI. Similarly, you can add other custom model location configurations

3. Setting Up LAN Access for ComfyUI Portable

If your ComfyUI is running on a local network and you want other devices to access ComfyUI, you can modify the run_nvidia_gpu.bat or run_cpu.bat file using Notepad to complete the configuration. This is mainly done by adding --listen to specify the listening address. Below is an example of the run_nvidia_gpu.bat file command with the --listen parameter added
After enabling ComfyUI, you will notice the final running address will become
You can press WIN + R and type cmd to open the command prompt, then enter ipconfig to view your local IP address. Other devices can then access ComfyUI by entering http://your-local-IP:8188 in their browser.