Where exactly do I put the .cursorrules file?
Place it in the root directory of your project — the same folder that contains your package.json or your main project configuration file. Cursor detects it automatically. You don't need to configure anything else. If you open a subfolder in Cursor instead of the root, it won't find the file, so always open the full project root.