[GH-ISSUE #58] Add simpler pip command to upgrade to nightly yt-dlp #92

Closed
opened 2026-03-23 21:16:47 +00:00 by mirror · 2 comments
Owner

Originally created by @clb92 on GitHub (May 10, 2025).
Original GitHub issue: https://github.com/tubearchivist/docs/issues/58

According to yt-dlp's documentation, this is one way to upgrade to latest nightly build of yt-dlp:

pip install --upgrade --pre yt-dlp

Currently, the TA docs include a command that specifies a target folder and pulls yt-dlp from a GitHub master.tar.gz URL, which seems unnecessary,

So, I think the TA docs could be updated to use the above command instead.

Originally created by @clb92 on GitHub (May 10, 2025). Original GitHub issue: https://github.com/tubearchivist/docs/issues/58 According to [yt-dlp's documentation](https://github.com/yt-dlp/yt-dlp#Update), this is one way to upgrade to latest nightly build of yt-dlp: pip install --upgrade --pre yt-dlp Currently, the TA docs include a command that specifies a target folder and pulls yt-dlp from a GitHub master.tar.gz URL, which seems unnecessary, So, I think the TA docs could be updated to use the above command instead.
Author
Owner

@bbilly1 commented on GitHub (May 11, 2025):

If you don't specify the target path, pip will install yt-dlp to a different location. You can confirm that, before updating:

root@81a6cc050d94:/app# which yt-dlp
/root/.local/bin/yt-dlp

after updating:

root@81a6cc050d94:/app# which yt-dlp
/usr/local/bin/yt-dlp

This will uninstall the old binary from /root/.local/bin and install it to a different place /usr/local/bin. I think that's confusing, better to have all things together, same place as the other python dependencies, at the original place on the file system, that's why I think it's better to recommend to specify the target folder.

<!-- gh-comment-id:2869402094 --> @bbilly1 commented on GitHub (May 11, 2025): If you don't specify the target path, pip will install yt-dlp to a different location. You can confirm that, before updating: ``` root@81a6cc050d94:/app# which yt-dlp /root/.local/bin/yt-dlp ``` after updating: ``` root@81a6cc050d94:/app# which yt-dlp /usr/local/bin/yt-dlp ``` This will uninstall the old binary from /root/.local/bin and install it to a different place /usr/local/bin. I think that's confusing, better to have all things together, same place as the other python dependencies, at the original place on the file system, that's why I think it's better to recommend to specify the target folder.
Author
Owner

@clb92 commented on GitHub (May 11, 2025):

Alright, then we should keep --target=/root/.local/bin in the command, but perhaps still change it to --pre yt-dlp maybe?

Also, is there a reason the pip command listed to upgrade to latest stable version does not have the --target?

<!-- gh-comment-id:2869666695 --> @clb92 commented on GitHub (May 11, 2025): Alright, then we should keep ```--target=/root/.local/bin``` in the command, but perhaps still change it to ```--pre yt-dlp``` maybe? Also, is there a reason the pip command listed to upgrade to latest _stable_ version does not have the ```--target```?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tubearchivist/docs#92
No description provided.