LESSON 4 of 5//CLI in Software Development
Build tools and task runners
Modern web development relies on build tools that compile, bundle, and optimize code. These tools are all invoked from the command line, typically through npm scripts defined in package.json.
Common build commandszsh // interactive
➜~npm run dev # start development server
➜~npm run build # production build
➜~npm run test # run test suite
➜~npm run lint # check code quality
# Direct tool invocation
➜~npx vite build
➜~npx tsc --noEmit # type-check without building
npx vs npm
npm manages packages. npx runs packages — even ones you haven't installed. Use npx create-next-app instead of installing the CLI globally.
PRACTICE//Try the commands from this lesson
INTERACTIVE_TERMINAL//sandbox
Practice terminal — try the commands from this lesson!
Type 'help' for available commands. Tab completion not available in simulator.
Try: