Guest User

Manual install TEXT GEN WEBUI

a guest
Nov 8th, 2025
9,766
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. Manual Install Method from my last Youtube video: https://youtu.be/QSJS9YDqf9w
  2.  
  3.  
  4. 🧠 HOW TO INSTALL TEXT-GEN WEBUI MANUALLY (STEP-BY-STEP)
  5.  
  6. ───────────────────────────────
  7. πŸ’‘ WHAT THIS DOES
  8. ───────────────────────────────
  9. This guide explains how to:
  10. 1. Install Text Generation WebUI (Oobabooga)
  11. 2. Launch it locally or on RunPod
  12. 3. Download a GGUF model manually from Hugging Face
  13.  
  14. No Patreon scripts required β€” just follow along.
  15.  
  16.  
  17. ───────────────────────────────
  18. βš™οΈ 1. INSTALLING ON WINDOWS
  19. ───────────────────────────────
  20.  
  21. STEP 1. Install Prerequisites
  22. -----------------------------
  23. Make sure you have:
  24. - Git β†’ https://git-scm.com/download/win
  25. - Python 3.10 or 3.11 (64-bit) β†’ https://www.python.org/downloads/windows/
  26. During Python install, check the box β€œAdd Python to PATH.”
  27.  
  28.  
  29. STEP 2. Clone the WebUI
  30. -----------------------
  31. Open Command Prompt (CMD) and run:
  32.  
  33. git clone https://github.com/oobabooga/text-generation-webui.git
  34. cd text-generation-webui
  35.  
  36.  
  37. STEP 3. Start the Installer
  38. ---------------------------
  39. Run:
  40.  
  41. start_windows.bat
  42.  
  43. This will:
  44. - Create a Python virtual environment
  45. - Install dependencies
  46. - Launch the WebUI
  47.  
  48. When you see:
  49.  
  50. Running on local URL: http://127.0.0.1:7860
  51.  
  52. open that address in your browser.
  53.  
  54.  
  55. STEP 4. First Launch
  56. --------------------
  57. On first startup, the WebUI will ask what loader to use.
  58. Type:
  59.  
  60. A
  61.  
  62. and press Enter (this selects β€œllama.cpp”).
  63.  
  64.  
  65. ───────────────────────────────
  66. ☁️ 2. INSTALLING ON RUNPOD (LINUX CLOUD)
  67. ───────────────────────────────
  68.  
  69. STEP 1. Open a Terminal
  70. If you’re inside a RunPod container, open the terminal.
  71.  
  72. STEP 2. Clone the Repository
  73.  
  74. git clone https://github.com/oobabooga/text-generation-webui.git
  75. cd text-generation-webui
  76.  
  77.  
  78. STEP 3. (Optional) Add Login Protection
  79. Run this to protect your WebUI:
  80.  
  81. read -p "Username: " user; read -p "Password: " pass
  82. export AUTH="--gradio-auth ${user}:${pass}"
  83.  
  84.  
  85. STEP 4. Launch the WebUI
  86. ------------------------
  87. Run:
  88.  
  89. printf '%s\n' "A" | ./start_linux.sh --listen --listen-host 0.0.0.0 --listen-port 7860 $AUTH
  90.  
  91. Then open the link shown (for example https://XXXXXX.runpod.run:7860).
  92.  
  93.  
  94. ───────────────────────────────
  95. 🧩 3. DOWNLOAD A MODEL MANUALLY (HUGGING FACE)
  96. ───────────────────────────────
  97.  
  98. STEP 1. Create a Folder
  99. -----------------------
  100. Inside your WebUI folder, create this path:
  101.  
  102. text-generation-webui/user_data/models
  103.  
  104.  
  105. STEP 2. Go to Hugging Face
  106. --------------------------
  107. Find a model you like, for example:
  108. https://huggingface.co/unsloth/GLM-4.5-Air-GGUF/tree/main/Q8_0
  109.  
  110.  
  111. STEP 3. Download the .GGUF File
  112. -------------------------------
  113. Click the .gguf file(s) and press β€œDownload”.
  114. Place the file(s) inside:
  115.  
  116. text-generation-webui/user_data/models/
  117.  
  118.  
  119. STEP 4. Load It in WebUI
  120. ------------------------
  121. 1. Go to the β€œModel” tab
  122. 2. Choose Loader: llama.cpp
  123. 3. Select your .gguf file
  124. 4. Click β€œLoad model”
  125.  
  126. Done! You can now chat locally with your LLM.
  127.  
  128.  
  129. ───────────────────────────────
  130. ⚠️ COMMON ISSUES
  131. ───────────────────────────────
  132.  
  133. Q: Torch not found / missing module?
  134. A: Delete the folder β€œinstaller_files/env” and rerun start_windows.bat.
  135.  
  136. Q: The WebUI closes instantly?
  137. A: Open CMD manually, cd to the WebUI folder, then run:
  138. start_windows.bat
  139. to see the full error.
  140.  
  141. Q: Multiple .gguf shards?
  142. A: Keep all parts (e.g. -00001-of-00003.gguf) in the same folder.
  143.  
  144.  
  145. ───────────────────────────────
  146. βœ… TL;DR QUICK COMMANDS
  147. ───────────────────────────────
  148.  
  149. Windows:
  150. ---------
  151. git clone https://github.com/oobabooga/text-generation-webui.git
  152. cd text-generation-webui
  153. start_windows.bat
  154.  
  155. Linux / RunPod:
  156. ---------------
  157. git clone https://github.com/oobabooga/text-generation-webui.git
  158. cd text-generation-webui
  159. printf '%s\n' "A" | ./start_linux.sh --listen --listen-host 0.0.0.0 --listen-port 7860
  160.  
  161. Then:
  162. - Put your .gguf files into user_data/models
  163. - Load them in WebUI β†’ Model tab β†’ Load
  164.  
  165.  
  166. ───────────────────────────────
  167. ❀️ OPTIONAL AUTH (LINUX)
  168. ───────────────────────────────
  169. printf '%s\n' "A" | ./start_linux.sh --listen --listen-host 0.0.0.0 --listen-port 7860 --gradio-auth user:pass
  170.  
Advertisement
Add Comment
Please, Sign In to add comment