Dev.to AI 🤖 Ai 👁 0 📖 4 min read

New MacBook for Python and Data Work in 2026? The 10 Apps I'd Install First (uv to TokenBar)

Python on a fresh Mac goes sideways fast: the system python3 isn't the version your project wants, pip install lands somewhere you didn't expect, and a week later you have three virtual environments and no idea which one

New MacBook for Python and Data Work in 2026? The 10 Apps I'd Install First (uv to TokenBar)

Python on a fresh Mac goes sideways fast: the system python3 isn't the version your project wants, pip install lands somewhere you didn't expect, and a week later you have three virtual environments and no idea which one Jupyter is using.

Add a coding agent that happily runs pip install for you and the mess arrives even sooner. Here's the order I'd install things in on a new MacBook for Python and data work in 2026, so the agent and I are working on the same, tidy setup.

The foundation

1. Homebrew

Homebrew is still the first thing I'd install, because nearly everything below can come from it. It supports macOS Sequoia 15 and newer. Its brew bundle command reads a Brewfile and can install formulae, casks, VS Code extensions and even uv tools, so the next Mac setup is one command.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. uv

uv from Astral replaces pip, pip-tools, pipx, poetry, pyenv and virtualenv with one tool. It installs Python versions (uv python install 3.12), creates the .venv for each project, keeps a lockfile and runs scripts with inline dependencies. I'd never touch the system Python again.

curl -LsSf https://astral.sh/uv/install.sh | sh
uv init my-analysis && cd my-analysis && uv add pandas

3. Ruff

Ruff is a linter and formatter in one, with over 900 built-in rules and drop-in parity with Flake8, isort and Black. It's also from Astral, and it pairs well with agents: run ruff check --fix and ruff format after a session and most of the style noise in the diff disappears.

uv tool install ruff

Where the analysis happens

4. Positron

Positron is Posit's free IDE built for data science, from the team behind RStudio. Jupyter notebooks work out of the box, and there's a Variables pane and a Data Explorer for actually looking at your dataframes. It recognizes environments made with uv, venv, pyenv and conda. Downloads are on the official page for macOS 11 or later. Note that it's source-available under the Elastic License 2.0, not MIT.

5. marimo

marimo is a reactive notebook: change a cell and the cells that depend on it rerun, so there's no hidden state. Notebooks are saved as plain .py files, which makes agent edits show up as readable Git diffs instead of JSON blobs. Built-in SQL cells work with DuckDB, Polars and Pandas. You can try one without setting up a project:

uvx marimo edit --sandbox notebook.py

6. DuckDB CLI

DuckDB is an MIT-licensed analytical database that runs in-process and reads CSV, JSON and Parquet directly. For a quick "how many rows, what columns" check on a file, the CLI is faster than opening a notebook.

brew install duckdb
duckdb -c "SELECT count(*) FROM 'sales.parquet'"

Services and agents

7. OrbStack

When a project needs Postgres or Redis, OrbStack runs containers and Linux machines on the Mac. Per its pricing page it's free for personal, non-commercial use, and Pro is $8 per user per month for business use.

8. Claude Code

Claude Code reads the codebase, edits files and runs commands, in the terminal, VS Code or the desktop app. The setup step I'd do on day one is a short CLAUDE.md in each project that says "use uv add, never pip install, and run Ruff before finishing." Hooks can also run a formatter automatically after every edit.

brew install --cask claude-code

9. TokenBar

Data work with an agent is bursty: one long session cleaning a messy CSV can eat a big part of a plan's window. TokenBar is a menu bar app that shows usage and reset times for Claude, Codex, Cursor, Gemini and Copilot, so I know whether to start the big refactor now or after the reset. It doesn't add any quota.

TokenBar menu on macOS showing Codex usage: 9% of the 5-hour session used with 1 minute until reset, 42% of the weekly window used, pace marked Safe

It's built on Peter Steinberger's MIT-licensed CodexBar and credits Pixel Agents. $5/month Basic or $15 lifetime Pro, macOS 14+.

10. Ollama

For work you'd rather keep local, or when the hosted quota is gone, Ollama runs models on the Mac. It needs macOS Sonoma 14 or newer and uses the GPU on Apple Silicon. Plan for disk space: the docs note models can be tens to hundreds of GB.

Quick picker

If you need... Install
A package manager for everything else Homebrew
Python versions, venvs and packages uv
Lint and format in one tool Ruff
A data science IDE with Jupyter Positron
Notebooks that diff cleanly in Git marimo
SQL on a CSV or Parquet file right now DuckDB CLI
Postgres or Redis for a project OrbStack
An agent that edits and runs your code Claude Code
To see AI usage and reset times TokenBar
Models that run locally Ollama

Are you still on Jupyter, or has marimo (or Positron's notebook editor) replaced it for you? And did you let your agent pick the package manager, or did you tell it to use uv?

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.