### Create Project Directory and Navigate Source: https://expressjs.com/en/starter/installing.html/index These commands are used to create a new directory for your Express.js application and then navigate into that directory. This is the foundational step before initializing your project. ```bash mkdir myapp cd myapp ``` -------------------------------- ### Install Express.js Temporarily Source: https://expressjs.com/en/starter/installing.html/index Use this command to install Express.js without adding it to the project's dependencies in `package.json`. This is useful for testing or temporary use cases. ```bash npm install express --no-save ``` -------------------------------- ### Install Express.js Source: https://expressjs.com/en/starter/installing.html/index This command installs the Express.js framework as a dependency for your project. The `--save` flag (which is default in npm 5.0+ and explicit in older versions) adds Express to the `dependencies` section of your `package.json` file. ```bash npm install express ``` -------------------------------- ### Initialize npm Project Source: https://expressjs.com/en/starter/installing.html/index The `npm init` command initializes a new Node.js project by creating a `package.json` file. This file stores metadata about your project and manages its dependencies. You will be prompted to provide details about your application. ```bash npm init ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.