Skip to content

Environment

Installation

npm i -g @shoper/cli

Update

shoper update

Configuration

Generate token in Shoper store

  1. Go to admin with configuration (appearance) permissions - full permissions.

Admin permissions

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

Shoper CLI configuration within a shop panel

  1. Click on "I understand".

Token settings

  1. Click on "Generate token".

Auth token generation

After installation, it is recommended to add an authentication token:

shoper auth add-token

Response

Auth token addition within CLI

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