Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on macOS
Simple, powerful and flexible site generation framework with everything you love from Next.js.
Saved setup from 11 h ago
Will it work on macOS?
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
git clone https://github.com/shuding/nextra.git cd nextra
Node.js 22
# needs nvm: brew install nvm (or https://github.com/nvm-sh/nvm) nvm install 22
corepack enable pnpm install
pnpm dev
pnpm test
The Nextra repository uses PNPM Workspaces and Turborepo.
Run corepack enable to enable Corepack.
If the command above fails, run
npm install -g corepack@latestto install the latest version of Corepack.
Run pnpm install to install the project's dependencies.
No reports for macOS yet.
GitManual AI Agent reads the 7 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.