-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.html
More file actions
315 lines (289 loc) · 16.7 KB
/
install.html
File metadata and controls
315 lines (289 loc) · 16.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
<meta name="robots" content="index,follow,max-image-preview:large">
<meta name="theme-color" content="#2563eb">
<link rel="icon" href="https://yt-dlpc.github.io/favicon.ico" type="image/x-icon">
<link rel="canonical" href="https://yt-dlpc.github.io/install.html">
<title>Install yt-dlp on Windows — Step-by-step (PowerShell, PATH, FFmpeg)</title>
<meta name="description" content="How to install yt-dlp on Windows 11/10: download yt-dlp.exe, add to PATH, run from PowerShell/CMD, verify version, update with -U, set up FFmpeg. Clear steps + commands.">
<meta name="keywords" content="install yt-dlp windows, yt-dlp windows 11, add to PATH, powershell, cmd, ffmpeg windows, update yt-dlp, verify version, youtube downloader cli">
<!-- Open Graph / Twitter -->
<meta property="og:type" content="article">
<meta property="og:locale" content="en_US">
<meta property="og:title" content="Install yt-dlp on Windows — Step-by-step (PowerShell, PATH, FFmpeg)">
<meta property="og:description" content="Download yt-dlp.exe, add to PATH, verify and update. Optional FFmpeg setup for 4K/8K and MP3.">
<meta property="og:url" content="https://yt-dlpc.github.io/install.html">
<meta property="og:image" content="https://raw.githubusercontent.com/yt-dlp/yt-dlp/master/unnamed.png">
<meta property="og:updated_time" content="2026-03-25T13:22:14Z">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Install yt-dlp on Windows — Step-by-step (PowerShell, PATH, FFmpeg)">
<meta name="twitter:description" content="Clear steps to install and use yt-dlp on Windows. Add to PATH and set up FFmpeg.">
<meta name="twitter:image" content="https://raw.githubusercontent.com/yt-dlp/yt-dlp/master/unnamed.png">
<!-- GA4 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ZL5RF9N1PR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ZL5RF9N1PR');
</script>
<!-- Structured Data: Breadcrumbs -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{"@type": "ListItem", "position": 1, "name": "Home", "item": "https://yt-dlpc.github.io/"},
{"@type": "ListItem", "position": 2, "name": "Install", "item": "https://yt-dlpc.github.io/install.html"}
]
}
</script>
<!-- Structured Data: HowTo (Install on Windows) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "HowTo",
"name": "Install yt-dlp on Windows",
"description": "Step-by-step guide to install yt-dlp on Windows 11/10, add to PATH, verify version, and set up FFmpeg.",
"totalTime": "PT5M",
"supply": [{"@type": "HowToSupply", "name": "Windows 11/10 PC"}],
"tool": [{"@type": "HowToTool", "name": "PowerShell or Command Prompt"}],
"step": [
{"@type": "HowToStep", "name": "Download yt-dlp.exe", "text": "Get the latest yt-dlp.exe from the official GitHub release.", "url": "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe"},
{"@type": "HowToStep", "name": "Place the file", "text": "Move yt-dlp.exe to a folder like C:\\Tools\\yt-dlp or C:\\Users\\YOU\\Downloads."},
{"@type": "HowToStep", "name": "(Optional) Add to PATH", "text": "Add that folder to your user PATH to run yt-dlp from any directory."},
{"@type": "HowToStep", "name": "Verify & update", "text": "Open PowerShell, run yt-dlp --version and yt-dlp -U."},
{"@type": "HowToStep", "name": "Install FFmpeg", "text": "Place ffmpeg.exe next to yt-dlp.exe for 4K/8K merges and audio conversions."}
],
"dateModified": "2026-03-25"
}
</script>
<!-- Structured Data: FAQPage -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{"@type": "Question", "name": "Do I need admin rights?", "acceptedAnswer": {"@type": "Answer", "text": "No. yt-dlp.exe is portable and runs without installation. Admin is only needed if you choose to add its folder to the system PATH for all users."}},
{"@type": "Question", "name": "PowerShell cannot run the file?", "acceptedAnswer": {"@type": "Answer", "text": "Right-click the file > Properties > Unblock if present. Ensure you're running yt-dlp.exe from its folder or that the folder is in PATH."}},
{"@type": "Question", "name": "Why do I need FFmpeg?", "acceptedAnswer": {"@type": "Answer", "text": "YouTube often provides video and audio as separate streams. FFmpeg merges them for best quality and enables audio conversions like MP3."}},
{"@type": "Question", "name": "How do I update yt-dlp?", "acceptedAnswer": {"@type": "Answer", "text": "Open PowerShell in the folder with yt-dlp.exe and run: yt-dlp -U. This replaces the executable with the latest version."}}
]
}
</script>
<style>
:root {
--accent: #2563eb;
--bg: #f8fafc;
--text: #111827;
--muted: #6b7280;
--card: #ffffff;
--border: #e5e7eb;
--code-bg: #0b1220;
--warning: #f59e0b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1040px; margin: 0 auto; padding: 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 38px; height: 38px; background: var(--accent); border-radius: 10px; color: #fff; display: grid; place-items: center; font-weight: 800; }
nav .nav-links { display: flex; gap: 14px; font-weight: 600; font-size: 14px; flex-wrap: wrap; }
.hero { padding: 36px 0 18px; }
h1 { font-size: 36px; margin: 8px 0 8px; }
.subtitle { color: var(--muted); max-width: 820px; margin: 0 0 18px; font-size: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); margin-top: 16px; }
.code { background: var(--code-bg); color: #e5e7eb; padding: 14px; border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; overflow-x: auto; border-left: 4px solid var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.list { padding-left: 18px; }
.note { background: #fffbeb; border-left: 4px solid var(--warning); padding: 10px 14px; border-radius: 10px; }
footer { margin-top: 40px; padding: 30px 0 50px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); background: #fff; }
.footer-links { display: flex; gap: 16px; justify-content: center; font-size: 14px; margin-bottom: 8px; flex-wrap: wrap; }
@media (max-width: 880px) {
.two { grid-template-columns: 1fr; }
h1 { font-size: 30px; }
}
/* Cookie banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(17,24,39,0.95); color: #fff; padding: 12px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; font-size: 14px; z-index: 50; transform: translateY(100%); transition: transform .25s ease; }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .accept-btn { background: var(--accent); color: #fff; border: 0; padding: 8px 12px; border-radius: 8px; font-weight: 700; cursor: pointer; }
</style>
</head>
<body>
<header>
<div class="container" style="display:flex;align-items:center;justify-content:space-between;">
<div class="brand">
<div class="brand-logo">YT</div>
<div>
<strong>yt-dlp Windows Helper</strong>
<div style="font-size:12px;color:#6b7280;">Unofficial, community-driven</div>
</div>
</div>
<nav>
<div class="nav-links" aria-label="Primary navigation">
<a href="index.html">Home</a>
<a href="download-windows.html">Download</a>
<a href="install.html" aria-current="page">Install</a>
<a href="to-mp3.html">MP3</a>
<a href="download-playlist.html">Playlists</a>
<a href="4k-8k-hdr.html">4K/8K</a>
<a href="subtitles-cc.html">Subtitles</a>
<a href="ffmpeg-windows.html">FFmpeg</a>
<a href="commands.html">Commands</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="vs-youtube-dl.html">vs youtube-dl</a>
<a href="safe-legal.html">Safe & Legal</a>
<a href="gui.html">Gui</a>
</div>
</nav>
</div>
</header>
<main class="container">
<section class="hero">
<h1>Install yt-dlp on Windows</h1>
<p class="subtitle">A quick guide to set up <strong>yt-dlp.exe</strong> on Windows 11/10, add it to <strong>PATH</strong>, verify, update, and enable <strong>FFmpeg</strong> for 4K/8K and MP3.</p>
<p><a class="btn" href="get.html" target="_blank" rel="noopener">⬇️ Download yt-dlp.exe</a></p>
<div class="note">Tip: You can run yt-dlp.exe without installing anything. Adding it to PATH just makes it available from any folder.</div>
<div class="muted" style="margin-top:8px"><span id="last-updated"></span> • Works on Windows 11/10</div>
</section>
<section class="card" id="steps">
<h2>Step-by-step</h2>
<ol class="list">
<li>Download <strong>yt-dlp.exe</strong> from the official GitHub release: <a href="get.html" target="_blank" rel="noopener">latest build</a>.</li>
<li>Move it to a folder like <code>C:\\Tools\\yt-dlp</code> or <code>C:\\Users\\YOU\\Downloads</code>.</li>
<li>(Optional) Add the folder to your <strong>PATH</strong>:
<ul class="list">
<li><strong>GUI method:</strong> Start → search "Environment Variables" → Edit environment variables → under <em>User variables</em> open <em>Path</em> → <em>New</em> → paste your folder (e.g., <code>C:\\Tools\\yt-dlp</code>) → OK.</li>
<li><strong>PowerShell (current user):</strong> <span class="code">setx PATH "%PATH%;C:\\Tools\\yt-dlp"</span> (restart terminal afterwards).</li>
</ul>
</li>
<li>Open <strong>PowerShell</strong> in the folder (Explorer → Address bar → type <code>powershell</code> → Enter) and run:
<div class="code">yt-dlp --version</div>
</li>
<li>Keep it updated:
<div class="code">yt-dlp -U</div>
</li>
</ol>
</section>
<section class="card" id="ffmpeg">
<h2>FFmpeg (recommended)</h2>
<p>FFmpeg enables merging separate video/audio streams (4K/8K) and audio conversions (e.g., MP3).</p>
<ol class="list">
<li>Download <strong>ffmpeg.exe</strong> from official sources.</li>
<li>Place <strong>ffmpeg.exe</strong> next to <strong>yt-dlp.exe</strong> in the same folder.</li>
<li>Verify by downloading a video in high quality; yt-dlp should auto-detect FFmpeg and merge formats.</li>
</ol>
<p>Full details: <a href="ffmpeg-windows.html">FFmpeg setup for Windows</a>.</p>
</section>
<section class="card two" id="post-install">
<div>
<h2>Post-install sanity checks</h2>
<p>Run a quick test in PowerShell:</p>
<div class="code">yt-dlp "https://www.youtube.com/watch?v=VIDEO_ID"</div>
<p>Check the version and update status:</p>
<div class="code">yt-dlp --version
yt-dlp -U</div>
</div>
<div>
<h2>Run from any folder</h2>
<p>Once the folder is in PATH, you can run yt-dlp anywhere. Otherwise, run it from its folder or reference the full path:</p>
<div class="code">C:\\Tools\\yt-dlp\\yt-dlp.exe --version</div>
</div>
</section>
<section class="card" id="troubleshooting">
<h2>Troubleshooting</h2>
<ul class="list">
<li><strong>SmartScreen warning?</strong> Click <em>More info</em> → <em>Run anyway</em>. This is common for portable open-source tools.</li>
<li><strong>“Command not found” after PATH update?</strong> Close and reopen your terminal (PATH is loaded on session start).</li>
<li><strong>“Access is denied” or blocked?</strong> Right‑click <em>yt-dlp.exe</em> → <em>Properties</em> → check <em>Unblock</em> if present → OK.</li>
<li><strong>Merge errors at 4K/8K?</strong> Ensure <em>ffmpeg.exe</em> is in the same folder as <em>yt-dlp.exe</em>.</li>
</ul>
<p>See also: <a href="commands.html">Commands cheatsheet</a> • <a href="troubleshooting.html">Full troubleshooting</a></p>
</section>
<section class="card" id="faq">
<h2>FAQ</h2>
<details>
<summary>Do I need admin rights to install?</summary>
<p>No. yt-dlp.exe is portable. Admin is only needed if you add PATH for all users; for your user, use the GUI method or <span class="code">setx</span>.</p>
</details>
<details>
<summary>Will this work on Windows 7/8 or ARM?</summary>
<p>yt-dlp primarily targets modern Windows versions. Some older systems may require Python-based setups. For ARM64, check the official release notes for compatibility.</p>
</details>
<details>
<summary>How do I update to the latest version?</summary>
<p>Run <span class="code">yt-dlp -U</span>. This updates the executable in place.</p>
</details>
</section>
</main>
<footer>
<div class="container">
<div class="footer-links">
<a href="index.html">Home</a>
<a href="download-windows.html">Download</a>
<a href="install.html">Install</a>
<a href="to-mp3.html">MP3</a>
<a href="download-playlist.html">Playlists</a>
<a href="4k-8k-hdr.html">4K/8K</a>
<a href="subtitles-cc.html">Subtitles</a>
<a href="ffmpeg-windows.html">FFmpeg</a>
<a href="commands.html">Commands</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="vs-youtube-dl.html">vs youtube-dl</a>
<a href="safe-legal.html">Safe & Legal</a>
<a href="gui.html">Gui</a>
<a href="sitemap.xml">Sitemap</a>
</div>
<div style="font-size:13px;margin:6px 0"><span id="last-updated-footer"></span> • © 2026 Unofficial yt-dlp Windows Helper</div>
<p style="max-width:800px;margin:6px auto 0;font-size:12px;color:#6b7280">Disclaimer: This site is not affiliated with YouTube or the official yt-dlp developers. We provide instructions and direct links to the official GitHub releases for educational purposes. Please respect copyright and website Terms of Service.</p>
</div>
</footer>
<!-- Cookie banner -->
<div id="cookie-consent-banner" class="cookie-banner" role="dialog" aria-live="polite" aria-label="Cookie consent">
<div>We use cookies to enhance your experience and analyze traffic. By clicking “Accept”, you agree to our <a style="color:#93c5fd" href="privacy.html">Privacy Policy</a>.</div>
<button class="accept-btn" id="accept-cookies">Accept</button>
</div>
<script>
// Last updated
(function(){
var d = new Date('2026-03-25T13:22:14Z');
var opts = { year:'numeric', month:'long', day:'numeric' };
var s = 'Last updated: ' + d.toLocaleDateString('en-US', opts);
var el1 = document.getElementById('last-updated');
var el2 = document.getElementById('last-updated-footer');
if (el1) el1.textContent = s;
if (el2) el2.textContent = s;
})();
// GA4 click tracking (optional here)
(function(){
var links = document.querySelectorAll('a');
links.forEach(function(a){
a.addEventListener('click', function(){
if (typeof gtag === 'function') {
gtag('event', 'click', { event_category: 'install_page', event_label: a.href || a.textContent });
}
});
});
})();
// Cookie consent logic
(function(){
var banner = document.getElementById('cookie-consent-banner');
var accept = document.getElementById('accept-cookies');
var key = 'cookieConsent';
var val = localStorage.getItem(key);
setTimeout(function(){ if(!val) banner.classList.add('show'); }, 700);
accept.addEventListener('click', function(){
localStorage.setItem(key, 'accepted');
banner.classList.remove('show');
setTimeout(function(){ banner.style.display='none'; }, 300);
});
})();
</script>
</body>
</html>