Skip to main content

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

Metadata

Release files for oget 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oget 1.0.2
File Size Uploaded Provenance
oget-1.0.2.tar.gz 8.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for oget 1.0.2
File Interpreter ABI Platform
oget-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.9 kB

Release files / oget-1.0.2.tar.gz

Download URL oget-1.0.2.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
47653038da8201f17a0808f3957014ec1e79e7b5c49d8ab87fe2bdefabdfa9a7
BLAKE2b-256 checksum
How to use checksums
59db44e04eb292c32e418787b7c177c6526c45e9c7dee6c3ff93804c1b6bc1c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.

Transparency log

Release files / oget-1.0.2-py3-none-any.whl

Download URL oget-1.0.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c54387ee12d0b5a5178bc8de0c1931e4b2b41ae6907e94741c1b4f6123e57e6d
BLAKE2b-256 checksum
How to use checksums
08f85fb3f988d3b8c67c53ed11cb890055aa0adde402fc72a06ff0ec2fb1105d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.

Transparency log

Security for oget 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for oget-1.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page