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?
Add
PATH="${PATH}:~/.local/bin"
To your .zhrc or .bashrc (whatever you use) and either source the file or open a new terminal. Should be as simple as that (assuming +x permissions)