git clone https://github.com/ashleykleynhans/civitai-downloader.git
mv civitai-downloader/download.sh /usr/local/bin/download-model
chmod +x /usr/local/bin/download-model
download-model [URL] [DESTINATION]
eg:
download-model https://civitai.com/api/download/models/15236 /workspace/stable-diffusion-webui/models/Stable-diffusion
- This assumes you are using RunPod and logged in as
root
user. If not, the installation commands should be prefixed withsudo
. - It is important to ensure that you use the DOWNLOAD link and not the link to the model page in CivitAI.