Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on macOS
OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
Saved setup from 6 h ago
Will it work on macOS?
Heads-upIt also needs 3 settings in .env.
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install. The repo uses git submodules, so the clone fetches them too.
git clone --recurse-submodules https://github.com/OHIF/Viewers.git cd Viewers
Node.js 24.22.2
# needs nvm: brew install nvm (or https://github.com/nvm-sh/nvm) nvm install 24
corepack enable pnpm install
pnpm dev
pnpm test
git clone https://github.com/YOUR-USERNAME/Viewers.gitremote named upstream
git remote add upstream https://github.com/OHIF/Viewers.gityarn install --frozen-lockfile to restore dependencies and link projects:::danger
In general run yarn install with the --frozen-lockfile flag to help avoid
supply chain attacks by enforcing reproducible dependencies. That is, if the
yarn.lock file is clean and does NOT reference compromised packages, then
no compromised packages should land on your machine by using this flag.
:::
From this repository's root directory:
# Enable Yarn Workspaces
yarn config set workspaces-experimental true
# Restore dependencies
yarn install --frozen-lockfile
No reports for macOS yet.
GitManual AI Agent reads the 14 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.