Environment¶
Installation¶
npm i -g @shoper/cli
Update¶
shoper update
Configuration¶
Generate token in Shoper store¶
- Go to admin with configuration (appearance) permissions - full permissions.

- Go to the Shoper CLI tab in the theme settings.

- Click on "I understand".

- Click on "Generate token".

After installation, it is recommended to add an authentication token:
shoper auth add-token
Response

The token will be saved locally and used for communication with the store's API.
If an EACCES permission error occurs during installation, which may happen especially on macOS systems, we recommend using the tips described in the official npm documentation: click here