Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Salla CLI
  • Welcome to Salla CLI 👋
  • Usage
  • Authorization
  • Help
  • Apps Command
    • Overview
    • Create App
    • Create Webhook
    • Delete
    • Link
    • List and Info
    • Serve
  • Twilight Themes Command
    • Overview
    • Create
    • Preview
    • List
    • Delete
    • Publish
  • Additional Resources
    • Upgrade and Version
    • Troubleshooting
  1. Salla CLI

Usage

Salla CLI is the tool used to create Apps and themes. It comes with easy-to-use commands, for example, to create, list, and delete Apps and Themes. In order to use these commands, the developer needs to install Salla CLI. This article will explain how to install Salla CLI in order to use it in the developer environment and the primary usage of Salla CLI.

📙 What you'll learn#

Install Salla CLI.
Salla CLI usage.

Install Salla CLI#

To install Salla CLI, run the following command in the terminal. This command will install Salla CLI into the system globally.
Note
For PowerShell users, sometimes the CLI might not be installed due to device restrictions. To enable that, execute the following command
The developer is now ready to start building Salla Apps and Themes with the Salla Partners Portal!
Alert
For machines with Apple silicon, it is a must to install Rosetta, which enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor. Follow along for installation guide.

Rosetta Installation#

Via GUI
Via Terminal
The first time you try to run an incompatible program, you will automatically be prompted to install Rosetta.
IMAGE
Simply, click Install and you are good to go!

Salla CLI usage#

After installation, the developer will have access to the salla binary on their command line. The developer can verify that the CLI is properly installed by simply running the binary command, salla, which should present the developer with a help message listing all available commands.
Checking the version can be done using this command:
To get the list of commands for Salla CLI execute the following command:
salla
Or as an alternative the developer can use help command:
help
The list of commands for Salla CLI
CommandDescriptionProperties
salla app  Show list of commands with the binary app-
salla app create-webhookCreate a new Salla App Webhookevent.name
salla app deleteDelete an existing Salla App-
salla app listList all Salla Apps-
salla app infoShow detailed app information-
salla app linkLink local app with Salla Partners-
salla app serveServe an existing Salla App[-p,-l]
salla theme createCreate the theme-
salla theme previewPreview the theme-
salla theme listList Themes-
salla theme deleteDelete an existing Theme-
salla theme publishPublish the theme-
salla loginLogin to Salla Store-
salla versionShow the version of Salla CLI-
Previous
Welcome to Salla CLI 👋
Next
Authorization