fix(docs): updated many bash codeblocks to npm to make use of the package manager selectors
#7528
+95
−99