Terminal commands on PC different than mac

I noticed some differences when doing terminal commands mainly the && operator on mac is replaced by | operator on PC. I’ve been researching and it’s a complex topic but on the last module i can’t figure out how to properly install a package.json like mosh, i have lock.json however it dosn’t have the same options to compile and run in one step. I guess i can do the 2 manually but if anyone has a solution please let me know.

Also installing as development dependency seems not to work. (-D)

Is this addressed in the node.js modules? seems like it’s out of place in the TS tutorial TBH