For example:
$ npm i && cd client && npm i && cd ..
Newbie question, I know.
This is for the shell itself for concatenation of conditions, please use this Npm Guide as a reference as it will clear alot of questions you have and is a very helpful tool all together.