---
format: "aidr-story-markdown/v1"
id: "1ccbec204999a9303185ecdf4333b8b6f0177607775aca368d7581a8606b5ed3"
canonical_url: "https://aidr.today/1ccbec20?lang=vi"
title: "Setting up OpenCode with Ollama and sbx on Mac"
lang: "vi"
requested_lang: "vi"
available_langs: ["en","vi"]
translation_fallback: null
fallback_fields: []
published_at: "2026-09-11T00:45:26.000Z"
category: "Products"
topics: ["ollama","open-source","llm","coding"]
source_urls: ["https://tensorsandtokens.com/posts/opencode-ollama/","https://news.ycombinator.com/item?id=49652122"]
summary: "Hướng dẫn cách cài đặt và cấu hình OpenCode — một môi trường phát triển mã nguồn mở dựa trên LLM — trên nền tảng macOS, kết hợp với Ollama để chạy mô hình ngôn ngữ cục bộ và sử dụng sbx như môi trường cách ly an toàn cho quá trình thực thi mã."
---

# Setting up OpenCode with Ollama and sbx on Mac

> [Open the canonical story](<https://aidr.today/1ccbec20?lang=vi>)

**Published:** 2026-09-11T00:45:26.000Z
**Category:** Products
**Topics:** ollama, open\-source, llm, coding

## Summary

Hướng dẫn cách cài đặt và cấu hình OpenCode — một môi trường phát triển mã nguồn mở dựa trên LLM — trên nền tảng macOS, kết hợp với Ollama để chạy mô hình ngôn ngữ cục bộ và sử dụng sbx như môi trường cách ly an toàn cho quá trình thực thi mã\.

## Sources

- [Story source](<https://tensorsandtokens.com/posts/opencode-ollama/>)
- [Discussion](<https://news.ycombinator.com/item?id=49652122>)

