curl -fsSL https://bun.sh/install | bash
Or, if you prefer Homebrew: brew install oven-sh/bun/bun
Then install dependencies:
bun install
Make sure you’re using the right version of Node:2
nvm use
This might prompt you to nvm install
.
bun run build
Then peep the freshly minted /_site/
folder.
bun run start
Footnotes
-
If you know what you’re doing, go ahead and use pnpm/yarn/npm. It might not stick, but for now I’m having fun with Bun. ↩
-
I’d like to give the
buntimeBun runtime a proper go at some point, but Eleventy assumes Node (which is fair enough). If using Deno, I’ll leave you to figure things out yourself—let me know how that goes! ↩