---
title: "Get started"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/online-store-3-0-themes/development-tools/cli/get-started'
  md: 'https://developer.shopline.com/docs/online-store-3-0-themes/development-tools/cli/get-started.md'
---
# Get started

SHOPLINE CLI is a command-line tool designed to assist in the development of SHOPLINE themes. This article provides guidance on how to use the SHOPLINE CLI for theme development.

* * *

## Prerequisites{#Oc0XA}

Before you begin theme development, ensure the following requirements are met:

-   You have successfully [installed the SHOPLINE CLI](https://developer.shopline.com/docs/online-store-3-0-themes/development-tools/cli/installation.md?lang=en).
    
-   You have access to a [development store](https://developer.shopline.com/docs/apps/development-tool/development-stores/overview.md) for development and debugging purposes.
    
-   A stable internet connection is available, because most SHOPLINE CLI commands require internet connectivity.
    

* * *

## Authentication{#U1dnk}

Authenticate with the CLI using the `sl login` command to access a specific store.

1.  Open your terminal and run the login command with your store URL.
    

```shell
sl login --store example.myshopline.com
```

2.  Log in using your account credentials in the SHOPLINE Admin login window that appears.
    

* * *

## Create a theme{#e2hiY}

Select the appropriate method to start theme development, depending on your requirements:

### Create a new theme{#qiu09}

Use the `sl theme init <THEME_NAME>` command to create a new theme locally. This command clones the Bottle sample theme code from our open Git repository and creates a copy.

```shell
sl theme init theme-demo
```

Replace `theme-demo` with your desired theme name. After executing the command, a theme folder with the specified name will be created in the current directory.

### Develop using an existing theme{#HmUsJ}

If you prefer to work with an existing theme, use the `sl theme pull` command to download it locally. This requires prior authentication with the store.

This command allows you to select from the list of all available themes in the store using the `--theme` parameter to specify which theme to download locally.

```shell
sl theme pull --theme <THEME_ID>
```

* * *

## Push a theme to the store{#ZECeL}

To upload local theme files to the SHOPLINE store, use the `sl theme push` command. This will overwrite the remote version. You can use the `--theme` parameter to specify which theme to overwrite.

```shell
sl theme push --theme <THEME_ID>
```