Try a challenge from Angular Challenges with one command:
npx angular-challenges start 19
This will:
- find your GitHub account (via the gh CLI if signed in, otherwise it asks),
- fork tomalaforge/angular-challenges to your account (or reuse your fork),
- ask where to clone your fork — default ./angular-challenges (or reuse an existing clone),
- create an answer-19 branch from the latest upstream main,
- run pnpm install,
- open the project in your editor (VS Code, Cursor, Windsurf or JetBrains), and
- serve the challenge app.
When your solution is ready:
npx angular-challenges submit
pushes your branch and opens a pre-filled pull request page (Answer:19).
- --dir <path> — clone location. Skips the question, so it also works in scripts:
npx angular-challenges start 19 --dir ~/code. If the folder already has files
in it, the clone goes into <path>/angular-challenges.
- Node.js ≥ 20 and git. pnpm is enabled automatically through corepack.
- A GitHub account. The GitHub CLI is optional but makes forking seamless.