Skip to main content

Ollama Model Direct Downloader & Installer - get direct links and install models offline

Project description

Oget 🦙

PyPI GitHub

Ollama Model Direct Downloader & Installer

Get direct download links for Ollama models and install locally downloaded models — no internet required at install time. | Blog: 🇬🇧 English | Blog: 🇹🇷 Türkçe | GitHub | PyPI

Why?

ollama pull can be slow or unreliable in some regions. Oget lets you:

  • Get direct CDN download links for any Ollama model
  • Download using your own download manager (IDM, aria2, wget, curl...)
  • Install the downloaded files into Ollama offline

Install

via pip (all platforms)

pip install oget

via AUR (Arch Linux)

# Using yay
yay -S oget

# Using paru
paru -S oget

# Manual
git clone https://aur.archlinux.org/oget.git
cd oget
makepkg -si

Usage

Step 1 — Get download links

oget get gemma2:2b
# oget get deepseek-r1:7b
# oget get huihui_ai/deepseek-r1-abliterated:8b

Example Output:

ℹ Fetching direct download link for model: gemma2:2b

Curl command to download the manifest (run in your manifest folder):
curl -L "https://registry.ollama.ai/v2/library/gemma2/manifests/2b" -o "manifest"

Download links for layers:
1 - [1.5 GB] https://registry.ollama.ai/v2/library/gemma2/blobs/sha256:74627347...
2 - [358 B]  https://registry.ollama.ai/v2/library/gemma2/blobs/sha256:e0a42594...
...

Curl command to download all blobs (run in your blobs folder):
curl -L "https://registry.ollama.ai/v2/library/gemma2/blobs/sha256:74627347..." -o "sha256-74627347..."
curl -L "https://registry.ollama.ai/v2/library/gemma2/blobs/sha256:e0a42594..." -o "sha256-e0a42594..."
...

Step 2 — Download the files

Copy the printed curl commands and run them in two separate folders:

  • One folder for the manifest
  • One folder for the blobs

Step 3 — Install into Ollama

# Linux/macOS (requires sudo)
sudo oget install --model gemma2:2b --blobsPath ./downloads

# With explicit models path
sudo oget install --model gemma2:2b --blobsPath ./downloads --modelsPath ~/.ollama/models

Then run as usual:

ollama run gemma2:2b

Models Path

Oget resolves the Ollama models directory in this order:

Priority Source
1st --modelsPath CLI argument
2nd OLLAMA_MODELS environment variable
Error Helpful instructions are printed

Supported Platforms

  • Linux
  • macOS
  • Windows

Zero Dependencies

Oget uses only Python standard library — no pip install requirements beyond Python 3.8+.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oget-1.0.2.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oget-1.0.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file oget-1.0.2.tar.gz.

File metadata

  • Download URL: oget-1.0.2.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for oget-1.0.2.tar.gz
Algorithm Hash digest
SHA256 47653038da8201f17a0808f3957014ec1e79e7b5c49d8ab87fe2bdefabdfa9a7
MD5 e05fc931faafd689ef36c616d2d4b47f
BLAKE2b-256 59db44e04eb292c32e418787b7c177c6526c45e9c7dee6c3ff93804c1b6bc1c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for oget-1.0.2.tar.gz:

Publisher: publish.yml on fr0stb1rd/oget

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oget-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: oget-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for oget-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c54387ee12d0b5a5178bc8de0c1931e4b2b41ae6907e94741c1b4f6123e57e6d
MD5 29570bf47cd560d0b37eb4c3863d8d5a
BLAKE2b-256 08f85fb3f988d3b8c67c53ed11cb890055aa0adde402fc72a06ff0ec2fb1105d

See more details on using hashes here.

Provenance

The following attestation bundles were made for oget-1.0.2-py3-none-any.whl:

Publisher: publish.yml on fr0stb1rd/oget

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page