Article may be outdated

This article is 46 days old. Some details may have changed since publication.

Hacker News·5 min read·hard

Setting up OpenCode with Ollama and sbx on Mac

E
etoxin
Setting up OpenCode with Ollama and sbx on Mac
✦AI Summary

This technical guide explains how to set up a local development environment for Large Language Models using Ollama, OpenCode, and Docker sandboxes on Apple Silicon. It provides specific configurations for running models like Qwen 3.8 and Gemma 4 locally.

Why it matters

It demonstrates the increasing feasibility of running powerful, private AI models on consumer hardware for software development.

✦Dive DeeperCreate a free account to unlock

How to get started with running Ollama local models with Opencode and Docker Sandboxes.

Viable local LLM development is here. With powerful models like Qwen 3.8 and Gemma4 we can now finally use these models to build out web applications. I'm using a Apple Macbook pro m5 48GB model. I think this is the sweet spot for local development as it allows you to run 30B models with a decent sized context.

Why I use Ollama . To be frank it's just easy. It has mlx now, so it's fast on Apple silicon. It has a pretty good model directory. It is also very stable and won't crash.

Why Opencode . Well, we need to start somewhere with this blog and opencode is a great harness.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technology
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in