Install the JSS CLI globally
Version: 20.x
Creating JSS projects based on JSS sample applications and running JSS commands in a terminal requires installing the JSS CLI globally.
To install the JSS CLI globally:
-
Run the following command:
RequestResponsenpm install -g @sitecore-jss/sitecore-jss-cli
-
Verify the installation and see the list of commands available globally by running the following:
RequestResponsejss --help