Debian-like GNU/Linux & macOS
spotify-downloader is on PyPI! You can install it using pip.
However, note that the program only supports Python 3.6+.
$ pip install -U spotdl
IMPORTANT: if you have both Python 2 and 3 installed, the pip command
could invoke an installation for Python 2. To see which Python version pip
refers to, try pip -V. If it turns out pip is your Python 2 pip, try
pip3 install -U spotdl instead.
You'll also need to install FFmpeg for conversion.
Debian-like GNU/Linux:
$ sudo apt-get install ffmpeg
macOS:
$ brew install ffmpeg --with-libmp3lame --with-libass --with-opus --with-fdk-aac
If FFmpeg does not install correctly, you may have to build it from source.
For more info see https://trac.ffmpeg.org/wiki/CompilationGuide.
Windows
Assuming you have Python 3.6 already installed and in PATH.
Open cmd and type pip install -U spotdl to install spotify-downloader.
The same note about pip as for Debian, Ubuntu, Linux & Mac applies.
You'll also need to download zip file for FFmpeg from https://ffmpeg.zeranoe.com/builds/.
Extract it and then place all the .exe files in a directory included in your PATH variable.
C:\Windows\System32\ usually works fine.
NOTE: In case placing ffmpeg.exe in System32 directory doesn't work, then you need to
manually add the FFmpeg directory to PATH. See this on how to do that:
https://docs.alfresco.com/4.2/tasks/fot-addpath.html or https://www.youtube.com/watch?v=qjtmgCb8NcE.