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?

  • SteveTech@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 hours ago

    Don’t Python scripts need python at the beginning of the command that summons them?

    Not if the script has a python shebang (e.g. #!/usr/bin/env python3), then it will run like any other script.