Install the JSS CLI
Version: 22.x
The JSS CLI provides a variety of commands for interacting with JSS apps. Installing this tool globally lets you use those commands while developing any JSS apps on your local device, for example while scaffolding new components.
To install the JSS CLI:
-
Run the following command:
RequestResponsenpm install -g @sitecore-jss/sitecore-jss-cli
-
Verify the installation and see a list of available JSS CLI commands by running the following:
RequestResponsejss --help