Question: how to create lwc in developer console?
Answer: Open Visual Studio Code. Press Command + Shift + P on macOS or Ctrl + Shift + P on Windows or Linux, then type focus terminal. Press Enter. Enter sfdx force:lightning:component:create -n myFirstWebComponent -d force-app/main/default/lwc --type lwc , and confirm with Enter.