macOS and Linux
bashPaste into a terminal.
curl -fsSL https://askphysics.vercel.app/install.sh | bash
Pick whichever fits your machine. Every option puts the askphysics command in its
own environment, away from your system Python, and needs no account or API key.
The quickest way. It installs uv first if you don't have it.
Paste into a terminal.
curl -fsSL https://askphysics.vercel.app/install.sh | bashPaste into PowerShell (Windows PowerShell 5.1 or 7+).
irm https://askphysics.vercel.app/install.ps1 | iexbrew install shankar-sachin/tap/askphysicsAvailable once the package is accepted into WinGet. Until then, use the installer or the one-liner above.
winget install ShankarS.AskPhysicsInstall it into a virtual environment or with pipx. The models download the first time you ask.
pip install askphysicsA normal setup program, if you would rather click than type. It is the latest release's installer.
The one-liners just download and run these two files. Fetch one, read it, then run it yourself.
Both are copied unchanged from the repository.
The Fermi models download automatically, either at install or on your first question, so there is nothing else to run.
askphysics ask "How fast does a ball dropped from 20 m hit the ground?"Pin a version, install from a branch or a local checkout, skip the model download, uninstall, or see every release: more options for developers.