CLI application for downloading YouTube playlists.
This app runs in Linux operating systems. For Windows, available using WSL or WSL 2.
If on Windows:
- WSL 2 (Windows Subsystem for Linux).
- Some Linux distribution (e.g. Ubuntu). Available on the Microsoft Store.
Other requisites such as Node.js, pnpm, etc. are detailed in the Usage section.
- Open a terminal in your Linux operating system (Ubuntu in this example).
-
Check for updates.
sudo apt update
-
Install the
ffmpeg
librarysudo apt install ffmpeg
# From https://nodejs.org/en/download/package-manager/current, 2024-08-07.
# installs nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# download and install Node.js (you may need to restart the terminal)
nvm install 22 # or any other version
# verifies the right Node.js version is in the environment
node -v # should print `v22.6.0`
# verifies the right npm version is in the environment
npm -v # should print `10.8.2`
-
Enable
pnpm
.corepack enable pnpm
-
Clone the repository.
git clone https://github.com/LeoLizc/self-music-bot.git
-
Install dependencies.
pnpm install
-
Run.
pnpm pldl