1. Install deps
bun install reads package.json and installs every dependency, far faster than npm install.
bun installTyporithm · easy
Step 1 of 8 · intro card
bun CLI
Bun is a drop-in faster npm: bun install for deps, bun add for packages (-d for dev), bun run for scripts, and bun index.ts to execute TypeScript with zero build step.
Bun is an all-in-one JavaScript and TypeScript toolkit whose package manager is a near drop-in replacement for npm, only much faster.
bun install resolves and installs dependencies; bun add <pkg> adds one and updates package.json, with -d for dev-only packages.
bun run <script> runs a package.json script, and bun index.ts executes a TypeScript file directly with no separate compile step.
bun install replaces npm install, much faster.
bun add <pkg> adds deps; -d for devDependencies.
bun index.ts runs TypeScript with no build step.
bun install
bun add zod
bun add -d typescript
bun run dev
bun index.tsConnect each part of the code to the concept before you type.
bun install reads package.json and installs every dependency, far faster than npm install.
bun installbun add <pkg> installs a runtime dependency and writes it to package.json.
bun add zod-d (or --dev) records the package under devDependencies.
bun add -d typescriptbun run <script> executes the matching script from package.json, like npm run.
bun run devbun runs TypeScript files directly — no tsc, no build step, no config.
bun index.tsRead the concept map and follow the code breakdown.
Type the implementation, repair mistakes and work through every recall exercise.
Use the final check without hints; revisit weak concepts in short practice sessions.