Update-YTdlp
SYNOPSIS
Updates yt-dlp to the latest stable version
SYNTAX
Update-YTdlp [[-ExecutablePath] <String>] [[-Method] <String>] [-Force] [-ProgressAction <ActionPreference>]
[-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
The Update-YTdlp function compares the local yt-dlp version to the latest stable release on GitHub & updates the local installation when a newer version exists.
Update methods: Winget - Uses [ winget upgrade ] (default on Windows) SelfUpdate - Uses [ yt-dlp –update-to stable ] (default on Linux & macOS)
The winget repository is updated by a community process & can trail a GitHub release by a few hours. When that happens a warning is shown & the update can be run again later.
EXAMPLES
EXAMPLE 1
Update-YTdlp
Updates yt-dlp only if a newer stable version has been released
EXAMPLE 2
Update-YTdlp -Method SelfUpdate
Updates yt-dlp using its built-in updater
EXAMPLE 3
Update-YTdlp -WhatIf
Shows what would happen without updating anything
PARAMETERS
-ExecutablePath
Defines an explicit path to the yt-dlp executable
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Method
Defines how yt-dlp is updated
Default value: Auto
Allowed values: ‘Auto’, ‘Winget’, ‘SelfUpdate’
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: Auto
Accept pipeline input: False
Accept wildcard characters: False
-Force
Run the update even if the local version is already the latest stable version
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
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
Celerium.YTdlp.Version
NOTES
Copyright 1990-2026 Celerium
NAME: Update-YTdlp Type: Public
AUTHOR: David Schulte
DATE: 2025-11-11
EMAIL: celerium@Celerium.org
TODO: