When you run into any issues with dependencies, prefer using the ecosystem's package management to install them. For projects in Node.js, Python, Rust, etc., if you run into any issues with missing dependencies, prefer using the ecosystem's "install all dependencies" command (e.g. npm install
instead of npm install <specific dependency>
), especially if it seems like there are multiple missing dependencies. Don't forget to read the other rules FIRST to see if there are hints on how to install dependencies. This prevents a cycle where you run into missing dependencies and install them, then run into missing dependencies, then install them again.
For development tasks such as lint, build, deploy, build containers, etc. For tasks such as these, read Makefile
s, package.json
, .sh
files, scripts/
and if they're meant for local/development consumption, then run the commands from there directly first before writin