Update ComfyUI on any install type: Portable update scripts, Desktop updates, and git pull for manual installs, plus fixes for common update issues.
While we’ve covered ComfyUI updates across different installation methods in various sections, this comprehensive guide consolidates all update procedures to help users clearly understand how to update ComfyUI.
In the update folder within your portable installation directory, you’ll find the following update scripts:
ComfyUI_windows_portable└─ 📂update ├── update.py ├── update_comfyui.bat // Update to latest development version ├── update_comfyui_stable.bat // Update to latest stable version └── update_comfyui_and_python_dependencies.bat // ⚠️ DANGER: Reinstalls dependencies - may cause conflicts
Ensure a stable internet connection during updates.
⚠️ DANGER: Use update_comfyui_and_python_dependencies.bat with extreme caution!This script is more thorough than regular updates and will:
✅ Update ComfyUI code itself
✅ Update PyTorch (for NVIDIA GPU CUDA 12.9)
✅ Reinstall ALL Python dependencies
Risks:
May cause dependency conflicts with your existing setup
Can break custom nodes that rely on specific package versions
May overwrite manually configured packages
⚠️ Only use this script when:
You need to fix dependency issues
Performing major version updates
For daily updates, use update_comfyui.bat instead
Before running this script:
Back up your entire ComfyUI installation
Document any custom package versions you’ve installed
Be prepared to reinstall custom nodes if needed
To update ComfyUI, open the Manage panel and use the Update tab. You can choose between Stable (default) and Latest on GitHub update channels.The Desktop app itself updates automatically and is separate from ComfyUI instance updates.
Manually installed ComfyUI requires Git commands to complete updates.
Desktop installs track the stable ComfyUI release by default. If you want every latest commit, use the portable version or a manual git install, or switch the instance update channel to Latest on GitHub.
You can choose the appropriate installation for your system and hardware below
Windows
macOS (Apple Silicon)
Linux
Comfy Desktop (Windows) Installation Guide
Suitable for Windows 10 or later. NVIDIA or AMD GPU recommended.
Comfy Desktop (macOS) Installation Guide
Suitable for macOS with Apple Silicon
Comfy Desktop (Linux) Installation Guide
Install the AppImage or .deb, or build and run from source.
ComfyUI Portable (Windows)
Portable version is a ComfyUI version that integrates an independent embedded Python environment, using the portable version you can experience the latest features, currently only supports Windows system
ComfyUI Portable (Windows) Installation Guide
Supports Windows ComfyUI version running on Nvidia GPUs or CPU-only, always use the latest commits and completely portable.
Manual Installation
ComfyUI Manual Installation Guide
Supports all system types and GPU types (Nvidia, AMD, Intel, Apple Silicon, Ascend NPU, Cambricon MLU)
ComfyUI updates primarily consist of two components:
Update ComfyUI’s core code
Update ComfyUI’s core dependencies, including necessary Python dependencies and ComfyUI functional dependency packages
Core Code: New nodes, new model support, new features, etc.
Core Dependencies: Mainly includes ComfyUI’s frontend functionality, workflow templates, node help documentation, etc.
comfy-kitchen - Fast kernel library for Diffusion inference with multiple compute backends
comfy-aimdo - AI Model Demand Offloading Allocator
It’s important to understand the difference between development (nightly) and stable (release) versions:
Development version (nightly): Latest commit code, giving you access to the newest features, but may contain potential issues
Stable version (release): Built on stable releases, usually lags behind development versions but offers higher stability. We support stable versions after features are tested and stabilized
Many users often find themselves on release versions or on Desktop’s default Stable channel during updates, but discover that needed features are only available in development / nightly builds. On Desktop, switch to Latest on GitHub in Manage → Update. For portable or manual installs, check if your local ComfyUI/requirements.txt matches the nightly version dependencies to determine if all dependencies support the latest features.
Missing or Outdated Frontend, Workflow Templates, Node After Updates
Dependencies Not Properly Updated
Dependency Update Failures
Users often only use the git pull command to update ComfyUI code but neglect core dependency updates, leading to the following issues:
Missing or abnormal frontend functionality
Cannot find newly added workflow templates
Outdated or missing node help documentation
New features lack corresponding frontend support
After using the git pull command, use the corresponding ComfyUI environment to use pip install -r requirements.txt to update dependencies.
If dependency updates fail, it’s commonly due to network or computer permission issues. When core dependency failures occur during updates, the system falls back to older versions. You’ll typically see logs like this during startup:
Falling back to the default frontend.ComfyUI frontend version: xxx
Follow these troubleshooting steps:
Use pip list in the appropriate environment to view currently installed dependency packages. If you find version inconsistencies, use pip install -r requirements.txt in the ComfyUI environment to attempt dependency updates again.
If issues persist after updating, check your network connection. Users in mainland China may need to configure a proxy to reliably access GitHub repositories.
If problems continue, check computer permissions. If administrator privileges are required, run the command line with administrator rights.
Recommended Method: Use the ComfyUI_windows_portable\update\update_comfyui.bat batch script, which will update both ComfyUI code and all Python dependencies.Manual Dependency Update:
If you need to manually update dependencies, use the following command:
# Open command line in portable version directory.\python_embeded\python.exe -m pip install -r ComfyUI\requirements.txt
1
Activate Python Environment
If you use Conda to manage Python environments, activate your environment first:
conda activate comfyui # or other environment name
2
Update Code
Navigate to the ComfyUI root directory and update the code using Git:
cd <ComfyUI_ROOT_PATH>git pull
3
Update Dependencies
Update ComfyUI dependencies - this step is crucial, especially for the comfyui-frontend-package:
pip install -r requirements.txt
ComfyUI instance + Python deps: use Manage → Update (Stable or Latest on GitHub). Dependency updates are normally applied as part of that flow.
Desktop app itself: use the app menu Check for Updates (separate from the ComfyUI update channel).
If core dependency updates fail, follow these troubleshooting steps:
1
Check Network Connection
If located in mainland China, ensure you can access PyPI or configure a domestic mirror:
# Using Tsinghua University mirrorpip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
2
Install Core Packages Individually
If batch installation fails, try installing packages individually. First check version requirements in ComfyUI/requirements.txt:Then install according to specified versions (use version numbers from your requirements.txt):
It’s recommended to use the exact version numbers specified in ComfyUI/requirements.txt. Don’t upgrade to the latest versions independently, as this may cause compatibility issues.
If you’re using Desktop on the Stable update channel, features may lag behind newer GitHub commits. Switch the channel to Latest on GitHub in the Manage → Update tab when you need newer features (Latest may be less stable).
For Portable or manual installs, ensure you’re on the development version (nightly), not the stable version (release), when you need the newest commits.
Additionally, ensure that corresponding dependencies have been successfully updated during the update process. If issues persist after updating, refer to the Dependency Update Troubleshooting section to diagnose problems.
How to Switch Between Development (Nightly) and Stable (Release) Versions?
Differences between versions:
Development Version (Nightly)
Stable Version (Release)
Characteristics: Contains the latest commit code
Advantages: Experience the latest features and improvements first
Risks: May contain undiscovered bugs or unstable factors
Suitable for: Developers, testers, users wanting to experience the latest features
Characteristics: Tested and verified stable code
Advantages: High stability, suitable for production environments
Disadvantages: Feature updates have delays, may lag behind development versions by weeks or months
Suitable for: Users requiring stability, production environment users
Portable
Manual Installation
Desktop
Use update_comfyui.bat instead of update_comfyui_stable.bat:
# Development version (latest features)double-click: update_comfyui.bat# Stable versiondouble-click: update_comfyui_stable.bat
# Switch to development versiongit checkout mastergit pull# Switch to latest stable versiongit fetch --tagsgit checkout $(git describe --tags `git rev-list --tags --max-count=1`)
Open the Manage panel and use the Update tab to switch channels:
Stable (default): tested releases, may lag behind newer GitHub commits
Latest on GitHub: tracks newer commits on GitHub; may be less stable
Use Switch Channel, Update Now, or Copy & Update depending on whether the selected channel has a newer build. Details are on the Manage Update tab page.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ComfyUI","colors":{"primary":"#49378B","light":"#F2FF59","dark":"#F2FF59"},"logo":{"light":"https://mintcdn.com/dripart/WCFdTagRdhtvk9-o/logo/light.svg?fit=max\u0026auto=format\u0026n=WCFdTagRdhtvk9-o\u0026q=85\u0026s=ec112de87239058f5a931a7e4b594965","dark":"https://mintcdn.com/dripart/QzWbjSCBG7w61rR3/logo/dark.svg?fit=max\u0026auto=format\u0026n=QzWbjSCBG7w61rR3\u0026q=85\u0026s=62b4d879fb3aadbd7a468d1539032d6f","href":"/"},"favicon":"https://mintcdn.com/dripart/maKDA164-rrTfyxY/favicon.ico?fit=max\u0026auto=format\u0026n=maKDA164-rrTfyxY\u0026q=85\u0026s=94f3a697cf4c9a1ee3961b69219d0942","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://blog.comfy.org/?utm_source=docs","label":"Blog"},{"href":"/tutorials/partner-nodes/pricing","label":"Pricing"},{"href":"https://platform.comfy.org/?utm_source=docs","label":"Platform"},{"href":"https://comfy.org/download?utm_source=docs","label":"Download"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"Resources","items":[{"label":"installation","href":"/installation/system_requirements"},{"label":"Tutorials","href":"/tutorials/basic/text-to-image"},{"label":"Development","href":"/development/overview"}]},{"header":"Products","items":[{"label":"Features","href":"https://www.comfy.org/?utm_source=docs"},{"label":"Gallery","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"Download","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"Company","items":[{"label":"About","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"Careers","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"Terms of Service","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"Privacy Policy","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"search":{"prompt":"Search Comfy documentation..."},"seo":{"metatags":{"googlebot":"max-video-preview:0"}},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-MXC01ZDDHQ"},"posthog":{"apiKey":"phc_iKfK86id4xVYws9LybMje0h44eGtfwFgRPIBehmy8rO"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":""},{"language":"zh","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"资源","items":[{"label":"安装","href":"/zh/installation/system_requirements"},{"label":"教程","href":"/zh/tutorials/basic/text-to-image"},{"label":"开发","href":"/zh/development/overview"}]},{"header":"产品","items":[{"label":"功能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"画廊","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"下载","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"公司","items":[{"label":"关于","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"招聘","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"服务条款","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"隐私政策","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"href":"zh"},{"language":"ja","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"リソース","items":[{"label":"インストール","href":"/ja/installation/system_requirements"},{"label":"チュートリアル","href":"/ja/tutorials/basic/text-to-image"},{"label":"開発","href":"/ja/development/overview"}]},{"header":"プロダクト","items":[{"label":"機能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"ギャラリー","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"ダウンロード","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"会社情報","items":[{"label":"概要","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"採用情報","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"利用規約","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"プライバシーポリシー","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ja/tutorials/partner-nodes/pricing","label":"料金"},{"href":"https://comfy.org/download?utm_source=docs","label":"ダウンロード"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"href":"ja"},{"language":"ko","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"리소스","items":[{"label":"설치","href":"/ko/installation/system_requirements"},{"label":"튜토리얼","href":"/ko/tutorials/basic/text-to-image"},{"label":"개발","href":"/ko/development/overview"}]},{"header":"제품","items":[{"label":"기능","href":"https://www.comfy.org/?utm_source=docs"},{"label":"갤러리","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"다운로드","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"회사 정보","items":[{"label":"소개","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"채용","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"이용약관","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"개인정보 처리방침","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ko/tutorials/partner-nodes/pricing","label":"가격 정책"},{"href":"https://comfy.org/download?utm_source=docs","label":"다운로드"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"href":"ko"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dripart","hasAudioNarration":false,"actualSubdomain":"dripart","customDomains":["docs.comfy.org"],"gitSource":{"type":"github","owner":"comfy-org","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae2c9bc5a4cb0d188063aa0","collectionId":"ac967e3a-063c-450e-a6a8-1480eae38e20","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae2c9bc5a4cb0d188063aa0"},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae2c9bc5a4cb0d188063aa0","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"en","tag":"Built-in Nodes","count":1133},{"language":"ja","tag":"組み込みノード","count":1133},{"language":"zh","tag":"内置节点","count":1133},{"language":"en","tag":"Nodes","count":1132},{"language":"ja","tag":"ノード","count":1132},{"language":"zh","tag":"节点","count":1132},{"language":"ko","tag":"내장 노드 (Built-in Nodes)","count":1091},{"language":"ko","tag":"노드","count":1090},{"language":"es","tag":"Nodos integrados","count":1025},{"language":"es","tag":"Nodos","count":1024},{"language":"en","tag":"Tutorials","count":404},{"language":"es","tag":"Tutoriales","count":399},{"language":"en","tag":"Model","count":377},{"language":"es","tag":"Modelo","count":377},{"language":"ja","tag":"Model","count":377},{"language":"ko","tag":"Model","count":377},{"language":"zh","tag":"Model","count":377},{"language":"en","tag":"Image","count":347},{"language":"en","tag":"Partner","count":322},{"language":"ja","tag":"Partner","count":322},{"language":"ko","tag":"Partner","count":322},{"language":"zh","tag":"Partner","count":322},{"language":"es","tag":"Partner","count":320},{"language":"es","tag":"Imagen","count":314},{"language":"ja","tag":"はじめに","count":300},{"language":"ko","tag":"시작하기","count":300},{"language":"zh","tag":"开始使用","count":300},{"language":"ja","tag":"API 開発","count":294},{"language":"ko","tag":"API 개발","count":294},{"language":"zh","tag":"API 开发","count":294},{"language":"en","tag":"Video","count":270},{"language":"es","tag":"Comfy Router","count":267},{"language":"ja","tag":"Comfy Router","count":257},{"language":"ko","tag":"Comfy Router","count":257},{"language":"zh","tag":"Comfy Router","count":257},{"language":"en","tag":"Comfy Router","count":251},{"language":"es","tag":"Video","count":245},{"language":"es","tag":"Models","count":230},{"language":"ja","tag":"Models","count":229},{"language":"ko","tag":"Models","count":229},{"language":"zh","tag":"Models","count":229},{"language":"es","tag":"All Models","count":227},{"language":"en","tag":"Models","count":223},{"language":"en","tag":"All Models","count":220},{"language":"ja","tag":"画像","count":202},{"language":"ko","tag":"이미지","count":202},{"language":"zh","tag":"图像","count":202},{"language":"ja","tag":"Video","count":177},{"language":"zh","tag":"Video","count":177},{"language":"ko","tag":"Video","count":160}],"searchSettings":{"maxResults":10}},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":":root{--ink-900:#151417;--hub-shell-light:#f7f6f9;--accent-purple:#49378b;--accent-yellow:#f2ff59;--primary:73 55 139!important;--primary-light:242 255 89!important;--primary-dark:242 255 89!important}html.dark{--primary:242 255 89!important;--background-dark:14 14 13!important}html.dark body{background-color:#0e0e0d!important}html.dark #navbar,html.dark #navbar-transition{background-color:var(--ink-900)!important}html.dark #sidebar,html.dark #sidebar-content{background-color:rgb(var(--background-dark))!important}html.dark #navbar,html.dark #navbar-transition{box-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.dark #navbar-transition{border-bottom:1px solid rgba(255,255,255,.08)!important;opacity:1!important}html.dark img.nav-logo{filter:none}html.dark #sidebar-content a:not([aria-current=page]){color:rgba(255,255,255,.72)!important}html.dark #sidebar-content a:not([aria-current=page]) *{color:inherit!important}html.dark #sidebar-content a[aria-current=page]{color:var(--accent-yellow)!important;background-color:rgba(242,255,89,.1)!important}html.dark #sidebar-content a[aria-current=page] *{color:inherit!important}html.dark .nav-tabs-item[data-active],html.dark mobile-nav-tabs-item[data-active]{color:var(--accent-yellow)!important}html.dark #navbar a[href*=\"comfy.org/cloud\"] span.absolute{background-color:var(--accent-yellow)!important}html.dark #navbar a[href*=\"comfy.org/cloud\"] span.text-white{color:#151417!important}html:not(.dark) #background-color,html:not(.dark) #navbar,html:not(.dark) #navbar-transition,html:not(.dark) #sidebar,html:not(.dark) #sidebar-content{background-color:var(--hub-shell-light)!important}html:not(.dark) .nav-tabs-item[data-active],html:not(.dark) mobile-nav-tabs-item[data-active],html:not(.dark) nav-dropdown-item[data-active]{background-color:transparent!important;box-shadow:none!important;color:var(--accent-purple)!important;font-weight:600!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"] *,html:not(.dark) #sidebar-content a[aria-current=page] *,html:not(.dark) .nav-tabs-item[data-active] *,html:not(.dark) mobile-nav-tabs-item[data-active] *,html:not(.dark) nav-dropdown-item[data-active] *{color:inherit!important}html:not(.dark) #sidebar-content li:has(>a[aria-current=page]){background-color:transparent!important;box-shadow:none!important}html:not(.dark) #sidebar-content a[aria-current=page]{color:var(--accent-purple)!important;background-color:rgba(73,55,139,.1)!important;font-weight:600!important}html:not(.dark) toc-item[data-active-deepest],html:not(.dark) toc-item[data-active-deepest] a,html:not(.dark) toc-item[data-active],html:not(.dark) toc-item[data-active] a{background-color:transparent!important;color:var(--accent-purple)!important;font-weight:600!important}html:not(.dark) #content-area :where(h1, h2, h3, h4, h5, h6),html:not(.dark) #header :where(h1, h2, h3, h4, h5, h6){color:#151417!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"]{background-color:transparent!important;color:var(--accent-purple)!important;border-radius:.75rem;box-shadow:inset 0 0 0 1px var(--accent-purple)!important}html:not(.dark) #navbar a[href*=\"comfy.org/cloud\"] span.absolute{background-color:transparent!important}#sidebar .sticky.top-0.pointer-events-none.bg-linear-to-b{background-image:none!important}@media (min-width:1024px){#navbar.is-not-custom.is-not-center+div:has(>#sidebar),.max-w-8xl.mx-auto,.max-w-8xl.mx-auto.relative{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}#navbar [class*=mx-4],#navbar [class*=px-12]{padding-left:0!important;padding-right:1.5rem!important;margin-left:0!important;margin-right:0!important}#navbar .nav-logo,#navbar a.select-none{margin-left:1rem!important}#navbar .nav-tabs{padding-left:2rem!important}#sidebar{left:0!important;margin-left:0!important;box-shadow:none!important}#sidebar-content{margin-left:0!important;padding-left:1rem!important;box-sizing:border-box!important}#navbar,#navbar-transition{left:0!important;right:0!important;width:100%!important;max-width:none!important}#content-area{margin-left:0!important;padding-left:18rem!important}#sidebar.sticky~#content-container #content-area{padding-left:2rem!important;padding-right:2rem!important}#body-content,#content-area,#content-container{max-width:none!important;width:100%!important}:root{--content-width:100%;--sidebar-width:18rem}#sidebar[style],nav#sidebar{left:0!important;right:auto!important;margin-left:0!important;transform:none!important}#navbar li.navbar-link:has(a[href*=\"comfy.org/download\"]){margin-right:0!important}#navbar a[href*=\"comfy.org/download\"]{box-sizing:border-box;border:1px solid rgb(255 255 255/.22);border-radius:.75rem;padding:7px .875rem!important;color:#fff!important;font-size:.875rem;line-height:1.25rem}html:not(.dark) #navbar a[href*=\"comfy.org/download\"]{border-color:rgb(0 0 0/.16);color:#151417!important}#navbar a[href*=\"comfy.org/download\"]:hover{background:rgb(255 255 255/.06)}html:not(.dark) #navbar a[href*=\"comfy.org/download\"]:hover{background:rgb(0 0 0/.04)}#navbar .flex.space-x-6>.whitespace-nowrap.hidden,#navbar li.navbar-link:has(a[href*=\"comfy.org/download\"])+.whitespace-nowrap{margin-left:.5rem!important}}body:has(.router-api-reference-marker) #content,body:has(.router-api-reference-marker) #header{max-width:48rem}body:has(.router-api-reference-marker) #content-area table,body:has(.router-provider-coverage-marker) #content-area table{width:100%;table-layout:auto}body:has(.router-api-reference-marker) #content-area td,body:has(.router-api-reference-marker) #content-area th{min-width:4rem!important;overflow-wrap:anywhere}body:has(.router-api-reference-marker) #content-area table:has(th:nth-child(6)) td:nth-child(3),body:has(.router-api-reference-marker) #content-area table:has(th:nth-child(6)) th:nth-child(3){min-width:5rem!important}@media (max-width:1535px){body:has(.router-api-reference-marker) #content-side-layout{display:none!important}}body:has(.router-provider-coverage-marker) #content,body:has(.router-provider-coverage-marker) #header{max-width:64rem}body:has(.router-provider-coverage-marker) #content-area td,body:has(.router-provider-coverage-marker) #content-area th{min-width:5rem!important;overflow-wrap:anywhere}body:has(.router-provider-coverage-marker) #content-area td:first-child,body:has(.router-provider-coverage-marker) #content-area th:first-child{min-width:12rem!important}body:has(.router-quickstart-marker) [data-component-part=card-content] [data-component-part=code-block-root][style*=\"height: 190px\"],body:has(.router-quickstart-marker) [data-component-part=card-content] [data-component-part=code-block-root][style*=\"height:190px\"]{height:86px!important}"},{"filePath":"samples-cards.css","content":".sample-card-grid{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:28px}.sample-card{min-width:0;perspective:1200px}.sample-card-inner{height:565px;position:relative;transform-style:preserve-3d;transition:transform 560ms cubic-bezier(.2,.75,.3,1)}.sample-card[data-flipped=true] .sample-card-inner{transform:rotateY(180deg)}.sample-card-face{backface-visibility:hidden;background:#fff;border:1px solid #e5e1eb;border-radius:12px;box-sizing:border-box;height:100%;inset:0;overflow:hidden;position:absolute;width:100%}.sample-card-front{display:flex;flex-direction:column}.sample-card-back{opacity:0;pointer-events:none;transform:rotateY(180deg);visibility:hidden}.sample-card[data-flipped=true] .sample-card-front{pointer-events:none;transition:visibility 0s linear 280ms;visibility:hidden}.sample-card[data-flipped=true][data-active-path=api] .sample-card-back[data-sample-path=api],.sample-card[data-flipped=true][data-active-path=endpoint] .sample-card-back[data-sample-path=endpoint]{opacity:1;pointer-events:auto;visibility:visible}.sample-card-preview{border-bottom:1px solid #e5e1eb;cursor:pointer;display:block;width:100%}.sample-card-body{display:flex;flex:1;flex-direction:column;padding:20px}.sample-card-body h2,.sample-path-body h2{color:#49378b;font-size:18px;font-weight:700;letter-spacing:-.02em;margin:0 0 8px}.sample-path-body h2{text-align:center}.sample-card-body>p{color:#5f5966;font-size:14px;line-height:1.55;margin:0;min-height:66px}.sample-card-actions,.sample-card-links{display:flex;gap:8px;margin-top:20px}.sample-card-actions button{background:#fff;border:1px solid #cfc8de;border-radius:6px;color:#49378b;cursor:pointer;flex:1;font-size:13px;font-weight:700;padding:10px 12px}.sample-card-links{border-top:1px solid #eeeaf1;margin-top:16px;padding-top:12px}.sample-card-links a{color:#625b6c;font-size:12px;font-weight:650;text-decoration:none}.sample-card-links span{color:#b3adba}.sample-path-body{padding:20px}.sample-path-body>button{background:0 0;border:0;color:#625b6c;cursor:pointer;font-size:12px;font-weight:700;padding:0}.sample-path-eyebrow{color:#857a9e;font-size:10px;font-weight:700;letter-spacing:.08em;margin:19px 0 5px;text-align:center;text-transform:uppercase}.sample-path-body>p:not(.sample-path-eyebrow){color:#5f5966;font-size:12px;line-height:1.5;margin:0 0 15px}.sample-path-steps{display:grid;gap:8px}.sample-path-step{align-items:center;background:#faf9fc;border:1px solid #e5e1ea;border-radius:8px;display:flex;gap:10px;padding:10px 11px}.sample-path-number{align-items:center;background:#49378b;border-radius:999px;color:#fff;display:inline-flex;flex:0 0 21px;font-size:11px;font-weight:700;height:21px;justify-content:center}.sample-path-copy{flex:1;min-width:0}.sample-path-copy strong{color:#312c36;display:block;font-size:12px}.sample-path-copy span{color:#706a75;display:block;font-size:11px;line-height:1.35;margin-top:2px}.sample-path-step a{color:#49378b;flex:0 0 auto;font-size:11px;font-weight:700;text-decoration:none}@media (max-width:768px){.sample-card-grid{grid-template-columns:1fr}.sample-card-inner{height:clamp(620px,180vw,760px)}}"}],"page":{"pagePath":"installation/update_comfyui","slug":"/installation/update_comfyui","pageMetadata":{"title":"How to Update ComfyUI","description":"Update ComfyUI on any install type: Portable update scripts, Desktop updates, and git pull for manual installs, plus fixes for common update issues.","icon":"circle-up","sidebarTitle":"Update ComfyUI","href":"/installation/update_comfyui"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update ComfyUI on any install type: Portable update scripts, Desktop updates, and git pull for manual installs, plus fixes for common update issues.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CodeBlock,Heading,Step,Steps,Tab,Tabs,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`While we’ve covered ComfyUI updates across different installation methods in various sections, this comprehensive guide consolidates all update procedures to help users clearly understand how to update ComfyUI.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-update-comfyui`,children:`How to Update ComfyUI?`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Portable`,id:`portable`,\"data-child-heading-ids\":`[\"update-script-location\"]`,children:[_jsx(_components.p,{children:`ComfyUI Portable provides convenient batch scripts for easy updates.`}),_jsx(Heading,{level:`3`,id:`update-script-location`,children:`Update Script Location`}),_jsxs(_components.p,{children:[`In the `,_jsx(_components.code,{children:`update`}),` folder within your portable installation directory, you’ll find the following update scripts:`]}),_jsx(CodeBlock,{numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ComfyUI_windows_portable`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`└─ 📂update`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ├── update.py`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ├── update_comfyui.bat // Update to latest development version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ├── update_comfyui_stable.bat // Update to latest stable version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` └── update_comfyui_and_python_dependencies.bat // ⚠️ DANGER: Reinstalls dependencies - may cause conflicts`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Warning,{children:`Ensure a stable internet connection during updates.`}),_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`⚠️ DANGER: Use `,_jsx(_components.code,{children:`update_comfyui_and_python_dependencies.bat`}),` with extreme caution!`]})}),_jsx(_components.p,{children:`This script is more thorough than regular updates and will:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`✅ Update ComfyUI code itself`}),`\n`,_jsx(_components.li,{children:`✅ Update PyTorch (for NVIDIA GPU CUDA 12.9)`}),`\n`,_jsx(_components.li,{children:`✅ Reinstall ALL Python dependencies`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Risks:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`May cause dependency conflicts with your existing setup`}),`\n`,_jsx(_components.li,{children:`Can break custom nodes that rely on specific package versions`}),`\n`,_jsx(_components.li,{children:`May overwrite manually configured packages`}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`⚠️ Only use this script when:`})}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`You need to fix dependency issues`}),`\n`,_jsx(_components.li,{children:`Performing major version updates`}),`\n`,_jsxs(_components.li,{children:[`For daily updates, use `,_jsx(_components.code,{children:`update_comfyui.bat`}),` instead`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Before running this script:`})}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Back up your entire ComfyUI installation`})}),`\n`,_jsx(_components.li,{children:`Document any custom package versions you’ve installed`}),`\n`,_jsx(_components.li,{children:`Be prepared to reinstall custom nodes if needed`}),`\n`]})]})]}),_jsxs(Tab,{title:`Desktop`,id:`desktop`,children:[_jsxs(_components.p,{children:[`To update ComfyUI, open the `,_jsx(_components.a,{href:`/installation/desktop/usage/manage#update-tab`,children:`Manage panel`}),` and use the Update tab. You can choose between `,_jsx(_components.strong,{children:`Stable`}),` (default) and `,_jsx(_components.strong,{children:`Latest on GitHub`}),` update channels.`]}),_jsx(_components.p,{children:`The Desktop app itself updates automatically and is separate from ComfyUI instance updates.`})]}),_jsxs(Tab,{title:`Manual Installation`,id:`manual-installation`,\"data-child-heading-ids\":`[\"pre-update-requirements\",\"update-steps\",\"version-switching-optional\"]`,children:[_jsx(_components.p,{children:`Manually installed ComfyUI requires Git commands to complete updates.`}),_jsx(Heading,{level:`3`,id:`pre-update-requirements`,children:`Pre-Update Requirements`}),_jsxs(_components.p,{children:[`Ensure your system has `,_jsx(_components.a,{href:`https://git-scm.com/downloads`,children:`Git`}),` installed and ComfyUI was installed via Git clone.`]}),_jsx(Heading,{level:`3`,id:`update-steps`,children:`Update Steps`}),_jsxs(Steps,{children:[_jsxs(Step,{title:`Activate Virtual Environment`,children:[_jsx(_components.p,{children:`First, activate ComfyUI’s Python virtual environment (if using one):`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# For conda environment`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` activate`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` comfyui`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# For venv environment`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Windows`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`venv\\\\Scripts\\\\activate`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# macOS/Linux `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`source`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` venv/bin/activate`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Pull Latest Code`,children:[_jsx(_components.p,{children:`Navigate to your ComfyUI installation directory and pull the latest code:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`ComfyUI-installation-pat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`h`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pull`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Update Dependencies`,children:[_jsx(_components.p,{children:`Install or update ComfyUI’s dependency packages:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` requirements.txt`})]}),`\n`]})})}),_jsx(Warning,{children:_jsx(_components.p,{children:`Ensure you’re in ComfyUI’s virtual environment to avoid contaminating the system-level Python environment`})})]}),_jsxs(Step,{title:`Restart ComfyUI`,children:[_jsx(_components.p,{children:`After updating, restart ComfyUI:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`python`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` main.py`})]}),`\n`]})})})]})]}),_jsx(Heading,{level:`3`,id:`version-switching-optional`,children:`Version Switching (Optional)`}),_jsx(_components.p,{children:`To switch to a specific version, use these commands:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# View commit history`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` log`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --oneline`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Switch to specific commit`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` checkout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`commit-has`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`h`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Return to latest version`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` checkout`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` master`})]}),`\n`]})})}),_jsx(Tip,{children:`Regular updates are recommended for the latest features and security fixes, while stable versions are recommended for system stability`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`comfyui-version-types`,children:`ComfyUI Version Types`}),`\n`,_jsx(_components.p,{children:`Depending on your installation method, ComfyUI offers several installation versions. The links below contain update instructions for each version.`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Comfy Desktop`,id:`comfy-desktop`,children:[_jsxs(_components.p,{children:[`Comfy Desktop supports standalone installation on `,_jsx(_components.strong,{children:`Windows`}),`, `,_jsx(_components.strong,{children:`macOS (Apple Silicon)`}),`, and `,_jsx(_components.strong,{children:`Linux`}),` (AppImage and `,_jsx(_components.code,{children:`.deb`}),`).`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Source is on `,_jsx(_components.a,{href:`https://github.com/Comfy-Org/Comfy-Desktop`,children:`GitHub`})]}),`\n`]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`Desktop installs track the `,_jsx(_components.strong,{children:`stable`}),` ComfyUI release by default. If you want every latest commit, use the portable version or a manual git install, or switch the instance update channel to `,_jsx(_components.strong,{children:`Latest on GitHub`}),`.`]})}),_jsx(_components.p,{children:`You can choose the appropriate installation for your system and hardware below`}),_jsxs(Tabs,{children:[_jsx(Tab,{title:`Windows`,id:`windows`,children:_jsx(Card,{title:`Comfy Desktop (Windows) Installation Guide`,icon:`link`,href:`/installation/desktop/windows`,children:_jsxs(_components.p,{children:[`Suitable for `,_jsx(_components.strong,{children:`Windows`}),` 10 or later. NVIDIA or AMD GPU recommended.`]})})}),_jsx(Tab,{title:`macOS (Apple Silicon)`,id:`macos-apple-silicon`,children:_jsx(Card,{title:`Comfy Desktop (macOS) Installation Guide`,icon:`link`,href:`/installation/desktop/macos`,children:_jsxs(_components.p,{children:[`Suitable for macOS with `,_jsx(_components.strong,{children:`Apple Silicon`})]})})}),_jsx(Tab,{title:`Linux`,id:`linux`,children:_jsx(Card,{title:`Comfy Desktop (Linux) Installation Guide`,icon:`link`,href:`/installation/desktop/linux`,children:_jsxs(_components.p,{children:[`Install the AppImage or `,_jsx(_components.code,{children:`.deb`}),`, or build and run from source.`]})})})]})]}),_jsxs(Accordion,{title:`ComfyUI Portable (Windows)`,id:`comfyui-portable-windows`,children:[_jsxs(_components.p,{children:[`Portable version is a ComfyUI version that integrates an independent embedded Python environment, using the portable version you can experience the latest features, currently only supports `,_jsx(_components.strong,{children:`Windows`}),` system`]}),_jsx(Card,{title:`ComfyUI Portable (Windows) Installation Guide`,icon:`link`,href:`/installation/comfyui_portable_windows`,children:_jsxs(_components.p,{children:[`Supports `,_jsx(_components.strong,{children:`Windows`}),` ComfyUI version running on `,_jsx(_components.strong,{children:`Nvidia GPUs`}),` or `,_jsx(_components.strong,{children:`CPU-only`}),`, always use the latest commits and completely portable.`]})})]}),_jsx(Accordion,{title:`Manual Installation`,id:`manual-installation`,children:_jsx(Card,{title:`ComfyUI Manual Installation Guide`,icon:`link`,href:`/installation/manual_install`,children:_jsx(_components.p,{children:`Supports all system types and GPU types (Nvidia, AMD, Intel, Apple Silicon, Ascend NPU, Cambricon MLU)`})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-needs-to-be-updated-when-updating-comfyui`,children:`What Needs to Be Updated When Updating ComfyUI?`}),`\n`,_jsx(_components.p,{children:`ComfyUI updates primarily consist of two components:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Update ComfyUI’s core code`}),`\n`,_jsx(_components.li,{children:`Update ComfyUI’s core dependencies, including necessary Python dependencies and ComfyUI functional dependency packages`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Core Code`}),`: New nodes, new model support, new features, etc.\n`,_jsx(_components.strong,{children:`Core Dependencies`}),`: Mainly includes ComfyUI’s frontend functionality, workflow templates, node help documentation, etc.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`comfyui-frontend-package # ComfyUI frontend functionality`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`comfyui-workflow-templates # ComfyUI workflow templates `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`comfyui-embedded-docs # ComfyUI node help documentation`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`comfy-kitchen # ComfyUI core utilities`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`comfy-aimdo # ComfyUI core utilities`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`These core dependencies are maintained in separate repositories:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://github.com/Comfy-Org/ComfyUI_frontend/`,children:`ComfyUI_frontend`}),` - Frontend interface and interactive features`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://github.com/Comfy-Org/workflow_templates`,children:`workflow_templates`}),` - Pre-built workflow templates`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://github.com/Comfy-Org/embedded-docs`,children:`comfyui-embedded-docs`}),` - Node help documentation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://github.com/Comfy-Org/comfy-kitchen`,children:`comfy-kitchen`}),` - Fast kernel library for Diffusion inference with multiple compute backends`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://github.com/Comfy-Org/comfy-aimdo`,children:`comfy-aimdo`}),` - AI Model Demand Offloading Allocator`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`It’s important to understand the difference between development (nightly) and stable (release) versions:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Development version (nightly)`}),`: Latest commit code, giving you access to the newest features, but may contain potential issues`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Stable version (release)`}),`: Built on stable releases, usually lags behind development versions but offers higher stability. We support stable versions after features are tested and stabilized`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Many users often find themselves on release versions or on Desktop’s default `,_jsx(_components.strong,{children:`Stable`}),` channel during updates, but discover that needed features are only available in development / nightly builds. On `,_jsx(_components.strong,{children:`Desktop`}),`, switch to `,_jsx(_components.strong,{children:`Latest on GitHub`}),` in `,_jsx(_components.a,{href:`/installation/desktop/usage/manage#update-tab`,children:`Manage → Update`}),`. For portable or manual installs, check if your local `,_jsx(_components.code,{children:`ComfyUI/requirements.txt`}),` matches the `,_jsx(_components.a,{href:`https://github.com/Comfy-Org/ComfyUI/blob/master/requirements.txt`,children:`nightly version dependencies`}),` to determine if all dependencies support the latest features.`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-update-issues`,children:`Common Update Issues`}),`\n`,_jsx(Heading,{level:`3`,id:`missing-or-outdated-frontend-workflow-templates-node-after-updates`,children:`Missing or Outdated Frontend, Workflow Templates, Node After Updates`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Dependencies Not Properly Updated`,id:`dependencies-not-properly-updated`,children:[_jsxs(_components.p,{children:[`Users often only use the `,_jsx(_components.code,{children:`git pull`}),` command to update ComfyUI code but `,_jsx(_components.strong,{children:`neglect core dependency updates`}),`, leading to the following issues:`]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Missing or abnormal frontend functionality`}),`\n`,_jsx(_components.li,{children:`Cannot find newly added workflow templates`}),`\n`,_jsx(_components.li,{children:`Outdated or missing node help documentation`}),`\n`,_jsx(_components.li,{children:`New features lack corresponding frontend support`}),`\n`]}),_jsxs(_components.p,{children:[`After using the `,_jsx(_components.code,{children:`git pull`}),` command, use the corresponding ComfyUI environment to use `,_jsx(_components.code,{children:`pip install -r requirements.txt`}),` to update dependencies.`]})]}),_jsxs(Tab,{title:`Dependency Update Failures`,id:`dependency-update-failures`,children:[_jsx(_components.p,{children:`If dependency updates fail, it’s commonly due to network or computer permission issues. When core dependency failures occur during updates, the system falls back to older versions. You’ll typically see logs like this during startup:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Falling back to the default frontend.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ComfyUI frontend version: xxx`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`Follow these troubleshooting steps:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.code,{children:`pip list`}),` in the appropriate environment to view currently installed dependency packages. If you find version inconsistencies, use `,_jsx(_components.code,{children:`pip install -r requirements.txt`}),` in the ComfyUI environment to attempt dependency updates again.`]}),`\n`,_jsx(_components.li,{children:`If issues persist after updating, check your network connection. Users in mainland China may need to configure a proxy to reliably access GitHub repositories.`}),`\n`,_jsx(_components.li,{children:`If problems continue, check computer permissions. If administrator privileges are required, run the command line with administrator rights.`}),`\n`]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`how-to-properly-update-core-dependencies`,children:`How to Properly Update Core Dependencies`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Portable`,id:`portable-2`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recommended Method`}),`: Use the `,_jsx(_components.code,{children:`ComfyUI_windows_portable\\\\update\\\\update_comfyui.bat`}),` batch script, which will update both ComfyUI code and all Python dependencies.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Manual Dependency Update`}),`:\nIf you need to manually update dependencies, use the following command:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Open command line in portable version directory`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`python_embeded`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`python.exe`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ComfyUI`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`equirements.txt`})]}),`\n`]})})})]}),_jsx(Tab,{title:`Manual Installation`,id:`manual-installation-2`,children:_jsxs(Steps,{children:[_jsxs(Step,{title:`Activate Python Environment`,children:[_jsx(_components.p,{children:`If you use Conda to manage Python environments, activate your environment first:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`conda`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` activate`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` comfyui`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # or other environment name`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Update Code`,children:[_jsx(_components.p,{children:`Navigate to the ComfyUI root directory and update the code using Git:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cd \u003cComfyUI_ROOT_PATH>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`git pull`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Step,{title:`Update Dependencies`,children:[_jsxs(_components.p,{children:[`Update ComfyUI dependencies - this step is crucial, especially for the `,_jsx(_components.code,{children:`comfyui-frontend-package`}),`:`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`pip install -r requirements.txt`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]})}),_jsx(Tab,{title:`Desktop`,id:`desktop-2`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`ComfyUI instance + Python deps:`}),` use `,_jsx(_components.a,{href:`/installation/desktop/usage/manage#update-tab`,children:`Manage → Update`}),` (`,_jsx(_components.strong,{children:`Stable`}),` or `,_jsx(_components.strong,{children:`Latest on GitHub`}),`). Dependency updates are normally applied as part of that flow.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Desktop app itself:`}),` use the app menu `,_jsx(_components.strong,{children:`Check for Updates`}),` (separate from the ComfyUI update channel).`]}),`\n`,_jsx(_components.li,{children:`Reinstall Desktop only as a last resort.`}),`\n`]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`core-dependency-update-troubleshooting`,children:`Core Dependency Update Troubleshooting`}),`\n`,_jsx(_components.p,{children:`If core dependency updates fail, follow these troubleshooting steps:`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Check Network Connection`,children:[_jsx(_components.p,{children:`If located in mainland China, ensure you can access PyPI or configure a domestic mirror:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Using Tsinghua University mirror`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` requirements.txt`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://pypi.tuna.tsinghua.edu.cn/simple`})]}),`\n`]})})})]}),_jsxs(Step,{title:`Install Core Packages Individually`,children:[_jsxs(_components.p,{children:[`If batch installation fails, try installing packages individually. `,_jsxs(_components.strong,{children:[`First check version requirements in `,_jsx(_components.code,{children:`ComfyUI/requirements.txt`})]}),`:`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Then install according to specified versions (use version numbers from your requirements.txt):`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` comfyui-frontend-package==`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`versio`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` comfyui-workflow-templates==`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`versio`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` comfyui-embedded-docs==`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`versio`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` comfy-kitchen==`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`versio`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pip`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` comfy-aimdo==`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`versio`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`It’s recommended to use the exact version numbers specified in `,_jsx(_components.code,{children:`ComfyUI/requirements.txt`}),`. Don’t upgrade to the latest versions independently, as this may cause compatibility issues.`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`why-can’t-i-find-new-features-after-updating`,children:`Why Can’t I Find New Features After Updating?`}),`\n`,_jsx(_components.p,{children:`This is one of the most common issues:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If you’re using `,_jsx(_components.strong,{children:`Desktop`}),` on the `,_jsx(_components.strong,{children:`Stable`}),` update channel, features may lag behind newer GitHub commits. Switch the channel to `,_jsx(_components.strong,{children:`Latest on GitHub`}),` in the `,_jsx(_components.a,{href:`/installation/desktop/usage/manage#update-tab`,children:`Manage → Update`}),` tab when you need newer features (Latest may be less stable).`]}),`\n`,_jsxs(_components.li,{children:[`For Portable or manual installs, ensure you’re on the `,_jsx(_components.strong,{children:`development version (nightly)`}),`, not the `,_jsx(_components.strong,{children:`stable version (release)`}),`, when you need the newest commits.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Additionally, ensure that corresponding dependencies have been successfully updated during the update process. If issues persist after updating, refer to the `,_jsx(_components.a,{href:`#core-dependency-update-troubleshooting`,children:`Dependency Update Troubleshooting`}),` section to diagnose problems.`]}),`\n`,_jsx(Heading,{level:`3`,id:`how-to-switch-between-development-nightly-and-stable-release-versions`,children:`How to Switch Between Development (Nightly) and Stable (Release) Versions?`}),`\n`,_jsx(_components.p,{children:`Differences between versions:`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Development Version (Nightly)`,id:`development-version-nightly`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Characteristics`}),`: Contains the latest commit code`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Advantages`}),`: Experience the latest features and improvements first`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Risks`}),`: May contain undiscovered bugs or unstable factors`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Suitable for`}),`: Developers, testers, users wanting to experience the latest features`]}),`\n`]})}),_jsx(Tab,{title:`Stable Version (Release)`,id:`stable-version-release`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Characteristics`}),`: Tested and verified stable code`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Advantages`}),`: High stability, suitable for production environments`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Disadvantages`}),`: Feature updates have delays, may lag behind development versions by weeks or months`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Suitable for`}),`: Users requiring stability, production environment users`]}),`\n`]})})]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Portable`,id:`portable-3`,children:[_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`update_comfyui.bat`}),` instead of `,_jsx(_components.code,{children:`update_comfyui_stable.bat`}),`:`]}),_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Development version (latest features)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`double-click: update_comfyui.bat`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`# Stable version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`double-click: update_comfyui_stable.bat`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsx(Tab,{title:`Manual Installation`,id:`manual-installation-3`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Switch to development version`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` checkout`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` master`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pull`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Switch to latest stable version`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` fetch`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tags`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` checkout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` describe`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tags`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `\"}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rev-list `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--tags`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --max-count=1`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})})}),_jsxs(Tab,{title:`Desktop`,id:`desktop-3`,children:[_jsxs(_components.p,{children:[`Open the `,_jsx(_components.a,{href:`/installation/desktop/usage/manage#update-tab`,children:`Manage panel`}),` and use the Update tab to switch channels:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Stable`}),` (default): tested releases, may lag behind newer GitHub commits`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Latest on GitHub`}),`: tracks newer commits on GitHub; may be less stable`]}),`\n`]}),_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Switch Channel`}),`, `,_jsx(_components.strong,{children:`Update Now`}),`, or `,_jsx(_components.strong,{children:`Copy \u0026 Update`}),` depending on whether the selected channel has a newer build. Details are on the `,_jsx(_components.a,{href:`/installation/desktop/usage/manage#update-tab`,children:`Manage Update tab`}),` page.`]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`what-to-do-when-errors-occur-after-updates`,children:`What to Do When Errors Occur After Updates?`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Check Dependencies`}),`: Run `,_jsx(_components.code,{children:`pip install -r requirements.txt`}),` to ensure all dependencies are updated`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Check Custom Nodes`}),`: Some custom nodes may be incompatible with new versions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Roll Back Version`}),`: If issues are severe, you can roll back to a previous stable version`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`If problems occur, refer to our troubleshooting page for solutions.`}),`\n`,_jsx(Card,{title:`Troubleshooting`,icon:`bug`,href:`/troubleshooting/overview`,children:_jsx(_components.p,{children:`Learn how to troubleshoot ComfyUI issues`})}),`\n`,_jsx(Heading,{level:`3`,id:`how-to-stay-updated-on-new-features`,children:`How to Stay Updated on New Features?`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`GitHub Releases`}),`: Check `,_jsx(_components.a,{href:`https://github.com/Comfy-Org/ComfyUI/releases`,children:`ComfyUI Releases`}),` for stable version updates`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`GitHub Commits`}),`: View `,_jsx(_components.a,{href:`https://github.com/Comfy-Org/ComfyUI/commits/master`,children:`latest commits`}),` to understand development progress`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Community Discussion`}),`: Follow our `,_jsx(_components.a,{href:`https://blog.comfy.org`,children:`blog`}),` and `,_jsx(_components.a,{href:`https://x.com/comfyui`,children:`Twitter`}),` for the latest updates`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"How to Update ComfyUI","description":"Update ComfyUI on any install type: Portable update scripts, Desktop updates, and git pull for manual installs, plus fixes for common update issues.","icon":"circle-up","sidebarTitle":"Update ComfyUI","href":"/installation/update_comfyui"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How to Update ComfyUI?","slug":"how-to-update-comfyui","depth":2,"children":[{"title":"Update Script Location","slug":"update-script-location","depth":3,"children":[],"tabId":"portable"},{"title":"Pre-Update Requirements","slug":"pre-update-requirements","depth":3,"children":[],"tabId":"manual-installation"},{"title":"Update Steps","slug":"update-steps","depth":3,"children":[],"tabId":"manual-installation"},{"title":"Version Switching (Optional)","slug":"version-switching-optional","depth":3,"children":[],"tabId":"manual-installation"}]},{"title":"ComfyUI Version Types","slug":"comfyui-version-types","depth":2,"children":[]},{"title":"What Needs to Be Updated When Updating ComfyUI?","slug":"what-needs-to-be-updated-when-updating-comfyui","depth":2,"children":[]},{"title":"Common Update Issues","slug":"common-update-issues","depth":2,"children":[{"title":"Missing or Outdated Frontend, Workflow Templates, Node After Updates","slug":"missing-or-outdated-frontend-workflow-templates-node-after-updates","depth":3,"children":[]},{"title":"How to Properly Update Core Dependencies","slug":"how-to-properly-update-core-dependencies","depth":3,"children":[]},{"title":"Core Dependency Update Troubleshooting","slug":"core-dependency-update-troubleshooting","depth":3,"children":[]},{"title":"Why Can’t I Find New Features After Updating?","slug":"why-can’t-i-find-new-features-after-updating","depth":3,"children":[]},{"title":"How to Switch Between Development (Nightly) and Stable (Release) Versions?","slug":"how-to-switch-between-development-nightly-and-stable-release-versions","depth":3,"children":[]},{"title":"What to Do When Errors Occur After Updates?","slug":"what-to-do-when-errors-occur-after-updates","depth":3,"children":[]},{"title":"How to Stay Updated on New Features?","slug":"how-to-stay-updated-on-new-features","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dripart/9d6bf2b2531e904c/giscus-comments.js","/_mintlify/custom/dripart/bd0341946f3c75a6/syft.js","/_mintlify/custom/dripart/042392a43b5e681e/samples-cards.js"],"subdomain":"dripart","siteName":"ComfyUI","title":"How to Update ComfyUI - ComfyUI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/installation/update_comfyui","matchLevel":0},"zh":{"href":"/zh/installation/update_comfyui","matchLevel":1},"ja":{"href":"/ja/installation/update_comfyui","matchLevel":1},"ko":{"href":"/ko/installation/update_comfyui","matchLevel":1},"es":{"href":"/es/installation/update_comfyui","matchLevel":1}}},"lastModified":"2026-10-24T03:12:27.226Z","originalFileLocation":"installation/update_comfyui.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update ComfyUI on any install type: Portable update scripts, Desktop updates, and git pull for manual installs, plus fixes for common update issues.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ComfyUI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"How to Update ComfyUI - ComfyUI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update ComfyUI on any install type: Portable update scripts, Desktop updates, and git pull for manual installs, plus fixes for common update issues.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ComfyUI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.comfy.org/installation/update_comfyui\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dripart.mintlify.app/_mintlify/api/og/v2?division=Local+%28Self-Hosted%29\u0026amp;title=How+to+Update+ComfyUI\u0026amp;description=Update+ComfyUI+on+any+install+type%3A+Portable+update+scripts%2C+Desktop+updates%2C+and+git+pull+for+manual+installs%2C+plus+fixes+for+common+update+issues.\u0026amp;theme=a03fed56f9a178c9b893031e\u0026amp;signature=bd8b56c3adb955906833f5fb7c9ffc3cac5e5d0bd2a1292c2f0ffa26b663da48\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"How to Update ComfyUI - ComfyUI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update ComfyUI on any install type: Portable update scripts, Desktop updates, and git pull for manual installs, plus fixes for common update issues.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dripart.mintlify.app/_mintlify/api/og/v2?division=Local+%28Self-Hosted%29\u0026amp;title=How+to+Update+ComfyUI\u0026amp;description=Update+ComfyUI+on+any+install+type%3A+Portable+update+scripts%2C+Desktop+updates%2C+and+git+pull+for+manual+installs%2C+plus+fixes+for+common+update+issues.\u0026amp;theme=a03fed56f9a178c9b893031e\u0026amp;signature=bd8b56c3adb955906833f5fb7c9ffc3cac5e5d0bd2a1292c2f0ffa26b663da48\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dripart/lS3H5I41bE6LSXEf/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ComfyUI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#49378B\">\u003cmeta data-mint-head name=\"googlebot\" content=\"max-video-preview:0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.comfy.org/installation/update_comfyui\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/installation/update_comfyui.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.comfy.org/installation/update_comfyui\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.comfy.org/zh/installation/update_comfyui\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.comfy.org/ja/installation/update_comfyui\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.comfy.org/ko/installation/update_comfyui\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.comfy.org/es/installation/update_comfyui\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.comfy.org/installation/update_comfyui\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.comfy.org/#organization\",\"name\":\"ComfyUI\",\"url\":\"https://docs.comfy.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dripart/WCFdTagRdhtvk9-o/logo/light.svg?fit=max\u0026auto=format\u0026n=WCFdTagRdhtvk9-o\u0026q=85\u0026s=ec112de87239058f5a931a7e4b594965\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.comfy.org#website\",\"name\":\"ComfyUI\",\"url\":\"https://docs.comfy.org\",\"publisher\":{\"@id\":\"https://docs.comfy.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.comfy.org/installation/update_comfyui#webpage\",\"url\":\"https://docs.comfy.org/installation/update_comfyui\",\"name\":\"How to Update ComfyUI\",\"description\":\"Update ComfyUI on any install type: Portable update scripts, Desktop updates, and git pull for manual installs, plus fixes for common update issues.\",\"dateModified\":\"2026-10-24T03:12:27.226Z\",\"isPartOf\":{\"@id\":\"https://docs.comfy.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.comfy.org/installation/update_comfyui#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.comfy.org/installation/update_comfyui#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Local (Self-Hosted)\",\"item\":\"https://docs.comfy.org/installation/system_requirements\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Update ComfyUI\",\"item\":\"https://docs.comfy.org/installation/update_comfyui\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.comfy.org/installation/update_comfyui#article\",\"headline\":\"How to Update ComfyUI\",\"name\":\"How to Update ComfyUI\",\"description\":\"Update ComfyUI on any install type: Portable update scripts, Desktop updates, and git pull for manual installs, plus fixes for common update issues.\",\"url\":\"https://docs.comfy.org/installation/update_comfyui\",\"mainEntityOfPage\":{\"@id\":\"https://docs.comfy.org/installation/update_comfyui#webpage\"},\"dateModified\":\"2026-10-24T03:12:27.226Z\",\"publisher\":{\"@id\":\"https://docs.comfy.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.comfy.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ComfyUI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ComfyUI","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Getting started","pages":[{"title":"ComfyUI Official Documentation","icon":"book-open","sidebarTitle":"Home","mode":"frame","href":""},{"title":"Comfy Cloud - Official ComfyUI Cloud Platform Powered by RTX 6000 Pro","sidebarTitle":"Comfy Cloud","icon":"cloud","href":"/get_started/cloud"},{"group":"Local (Self-Hosted)","icon":"download","pages":[{"title":"System Requirements","sidebarTitle":"System Requirements","icon":"computer","href":"/installation/system_requirements"},{"group":"Comfy Desktop","pages":[{"title":"Comfy Desktop Overview","icon":"desktop","sidebarTitle":"Overview","href":"/installation/desktop/overview"},{"group":"Installation","pages":[{"title":"Comfy Desktop for Windows","icon":"windows","sidebarTitle":"Windows","href":"/installation/desktop/windows"},{"title":"Comfy Desktop for macOS","icon":"apple","sidebarTitle":"macOS","href":"/installation/desktop/macos"},{"title":"Comfy Desktop on Linux","icon":"linux","sidebarTitle":"Linux","href":"/installation/desktop/linux"}]},{"group":"Usage Guide","pages":[{"title":"Using Comfy Desktop","icon":"book-open","sidebarTitle":"Overview","href":"/installation/desktop/usage/overview"},{"title":"Instance Management","icon":"plus","sidebarTitle":"Instance","href":"/installation/desktop/usage/instance-management"},{"title":"Workspaces and ComfyUI Builds in Comfy Desktop","icon":"cube","sidebarTitle":"Workspaces \u0026 Builds","href":"/installation/desktop/usage/workspaces-and-builds"},{"title":"Comfy Desktop Snapshots","icon":"camera","sidebarTitle":"Snapshots","href":"/installation/desktop/usage/snapshots"},{"title":"Model Downloads in Comfy Desktop","icon":"download","sidebarTitle":"Downloads","href":"/installation/desktop/usage/downloads"},{"title":"Managing Installations","icon":"sliders","sidebarTitle":"Manage","href":"/installation/desktop/usage/manage"},{"title":"Comfy Desktop Settings","icon":"cog","sidebarTitle":"Settings","href":"/installation/desktop/usage/settings"},{"title":"Performance Tests and Benchmarks","icon":"gauge","sidebarTitle":"Performance Tests","href":"/installation/desktop/usage/performance-tests"},{"title":"Migrate from Legacy Desktop","icon":"arrow-right","sidebarTitle":"Migrate","href":"/installation/desktop/usage/migrate"}]},{"title":"Comfy Desktop FAQ","sidebarTitle":"FAQ","href":"/installation/desktop/faq"}]},{"title":"ComfyUI Portable for Windows","icon":"box","sidebarTitle":"Portable (Local)","href":"/installation/comfyui_portable_windows"},{"title":"Install ComfyUI Manually (Windows, macOS, Linux)","description":"Install ComfyUI manually on Windows, macOS, or Linux: create a virtual environment, clone the repository, install GPU dependencies, and start the app.","icon":"wrench","sidebarTitle":"Manual (Local)","href":"/installation/manual_install"},{"title":"How to Update ComfyUI","icon":"circle-up","sidebarTitle":"Update ComfyUI","href":"/installation/update_comfyui"}]},{"group":"Install Custom Nodes","icon":"puzzle-piece","pages":[{"title":"How to Install Custom Nodes in ComfyUI","description":"Install custom nodes in ComfyUI with ComfyUI Manager, git clone, or a ZIP download, and install their Python dependencies safely.","sidebarTitle":"Custom nodes","icon":"puzzle-piece","href":"/installation/install_custom_node"},{"group":"ComfyUI-Manager","pages":[{"title":"ComfyUI-Manager Overview","sidebarTitle":"Overview","href":"/manager/overview"},{"title":"ComfyUI-Manager Installation","sidebarTitle":"Install","href":"/manager/install"},{"group":"Node Management","pages":[{"title":"Custom nodes (new UI)","sidebarTitle":"New UI","href":"/manager/pack-management"},{"title":"Managing custom nodes with ComfyUI-Manager (legacy UI)","sidebarTitle":"legacy UI","href":"/manager/legacy-ui"}]},{"title":"ComfyUI-Manager Configuration","sidebarTitle":"Config","href":"/manager/configuration"},{"title":"ComfyUI Manager Troubleshooting","sidebarTitle":"Troubleshooting","href":"/manager/troubleshooting"}]}]},{"title":"Getting Started with AI Image Generation","sidebarTitle":"First Generation","icon":"shoe-prints","href":"/get_started/first_generation"},{"title":"Changelog","icon":"clock-rotate-left","href":"/changelog/index"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/basic-concepts/workflow"}]},{"tab":"Comfy Router","pages":[{"title":"Comfy Router","href":"/development/comfy-router/quickstart"}]},{"tab":"Agent tools","pages":[{"title":"Agent tools","href":"/agent-tools"}]},{"tab":"Built-in Nodes","pages":[{"title":"Built-in Nodes","href":"/built-in-nodes/overview"}]},{"tab":"Developer","pages":[{"title":"Developer","href":"/development/overview"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support/contact-support"}]}]},{"language":"zh","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"资源","items":[{"label":"安装","href":"/zh/installation/system_requirements"},{"label":"教程","href":"/zh/tutorials/basic/text-to-image"},{"label":"开发","href":"/zh/development/overview"}]},{"header":"产品","items":[{"label":"功能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"画廊","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"下载","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"公司","items":[{"label":"关于","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"招聘","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"服务条款","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"隐私政策","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"pages":[{"title":"zh","href":"/zh/installation/update_comfyui"}]},{"language":"ja","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"リソース","items":[{"label":"インストール","href":"/ja/installation/system_requirements"},{"label":"チュートリアル","href":"/ja/tutorials/basic/text-to-image"},{"label":"開発","href":"/ja/development/overview"}]},{"header":"プロダクト","items":[{"label":"機能","href":"https://www.comfy.org/?utm_source=docs"},{"label":"ギャラリー","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"ダウンロード","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"会社情報","items":[{"label":"概要","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"採用情報","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"利用規約","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"プライバシーポリシー","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ja/tutorials/partner-nodes/pricing","label":"料金"},{"href":"https://comfy.org/download?utm_source=docs","label":"ダウンロード"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"pages":[{"title":"ja","href":"/ja/installation/update_comfyui"}]},{"language":"ko","footer":{"socials":{"github":"https://github.com/Comfy-Org/ComfyUI","x":"https://x.com/ComfyUI","discord":"https://discord.com/invite/comfyorg","youtube":"https://www.youtube.com/@comfyorg"},"links":[{"header":"리소스","items":[{"label":"설치","href":"/ko/installation/system_requirements"},{"label":"튜토리얼","href":"/ko/tutorials/basic/text-to-image"},{"label":"개발","href":"/ko/development/overview"}]},{"header":"제품","items":[{"label":"기능","href":"https://www.comfy.org/?utm_source=docs"},{"label":"갤러리","href":"https://www.comfy.org/gallery?utm_source=docs"},{"label":"다운로드","href":"https://www.comfy.org/download?utm_source=docs"}]},{"header":"회사 정보","items":[{"label":"소개","href":"https://www.comfy.org/about?utm_source=docs"},{"label":"채용","href":"https://www.comfy.org/careers?utm_source=docs"},{"label":"이용약관","href":"https://www.comfy.org/terms-of-service?utm_source=docs"},{"label":"개인정보 처리방침","href":"https://www.comfy.org/privacy-policy?utm_source=docs"}]}]},"navbar":{"links":[{"href":"/ko/tutorials/partner-nodes/pricing","label":"가격 정책"},{"href":"https://comfy.org/download?utm_source=docs","label":"다운로드"}],"primary":{"type":"button","label":"Comfy Cloud","href":"https://comfy.org/cloud?utm_source=docs"}},"pages":[{"title":"ko","href":"/ko/installation/update_comfyui"}]},{"language":"es","pages":[{"title":"es","href":"/es/installation/update_comfyui"}]}]},"title":"How to Update ComfyUI - ComfyUI","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":[],"chunks":[]}