debian 13.0, downloaded yt-dlp with wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O ~/.local/bin/yt-dlp

the python script is in that directory, but if I execute yt-dlp on the terminal it returns bash: yt-dlp: command not found

what should I do?

  • anamethatisnt@sopuli.xyz
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    17 hours ago

    Did you make it executable?
    chmod a+rx ~/.local/bin/yt-dlp # Make executable

    What is the output of your $PATH? (feel free to anonymise usernames)
    echo $PATH