How to Initiate a Node.js Project
Run `npm init -y` before `npm install` in a new project folder — it generates the `package.json` file npm needs to track dependencies.
Field notes
Small, practical things worth writing down — shortcuts, gotchas, definitions, and snippets from the day-to-day of building with AI and automation. Bite-sized, and each one opens to its own page.
Filter by type
Featured
Run `npm init -y` before `npm install` in a new project folder — it generates the `package.json` file npm needs to track dependencies.
Read note ->SnippetBeyond basic `cd`, shortcuts like `cd -`, `cd ..`, and `cd ~` jump between directories instantly and cut out repetitive typing.
Read note ->5 notes
Run `npm init -y` before `npm install` in a new project folder — it generates the `package.json` file npm needs to track dependencies.
Beyond basic `cd`, shortcuts like `cd -`, `cd ..`, and `cd ~` jump between directories instantly and cut out repetitive typing.
`pwd` prints the full path of your current directory in the terminal — the fastest way to confirm exactly where you are before running a command.
A quick-reference set of everyday terminal commands — ls, cd, pwd, and more — for a fast reminder, not a full tutorial.
Ten essential terminal commands covering navigation, files, and processes — the core commands you'll use nearly every day.