Get-YTdlpLatestRelease
SYNOPSIS
Gets the latest stable yt-dlp release from GitHub
SYNTAX
Get-YTdlpLatestRelease [[-Repository] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
The Get-YTdlpLatestRelease function queries the GitHub releases API of the yt-dlp project for the latest stable release. The GitHub “latest” release never includes pre-releases, drafts, or the separate nightly & master builds.
When the GITHUB_TOKEN environment variable is present it is used to avoid the low anonymous API rate limit, which is helpful on shared CI runners.
EXAMPLES
EXAMPLE 1
Get-YTdlpLatestRelease
Returns the version, release url, publish date, & asset names of the latest stable release
PARAMETERS
-Repository
The GitHub repository to query
Default value: yt-dlp/yt-dlp
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: Yt-dlp/yt-dlp
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
N/A
OUTPUTS
System.Management.Automation.PSCustomObject
NOTES
Copyright 1990-2026 Celerium
NAME: Get-YTdlpLatestRelease Type: Private
AUTHOR: David Schulte
DATE: 2025-11-11
EMAIL: celerium@Celerium.org
TODO: