If you want to start developing Shopify themes, then one option is using the Shopify Theme Kit provided by Shopify for developers.

This article assumes you have created your Shopify store, and are ready to start developing your theme locally.

Table of Contents:

  1. Installing the Shopify Theme Kit
  2. Create a private app for API key
  3. Get the theme ID from your account
  4. Create theme directory and download theme
  5. Watch for theme changes

1. Installing the Shopify Theme Kit

To install the Shopify Theme Kit on a linux system, use the following command to install:

curl -s https://shopify.github.io/themekit/scripts/install.py | sudo python

Alternatively, you can use this command for windows-based installations:

choco install themekit

If you are using a MacOS, you can install the HomeBrew package and then install the Shopify Theme Kit:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap shopify/shopify
brew install themekit

To make sure the themekit is installed properly, just type the theme command to get help options:


2. Create a private app for API key

Next we will need to go to Shopify and click on “Apps” on the left and then “Manage private apps”. On the next screen, click on “Create a new private app” to start making a new app.

Enter your app name and your developer email, and then under the “Admin API” section, make sure that you have read and write access for each option to allow you to use the theme kit through command line to perform actions on your Shopify Store. Once that is done, save the app to get your API Key and other credentials.

3. Get the theme ID from your account

If you are creating a new theme, you can skip this step. Otherwise, you will need to get your theme ID from the Shopify console or command line.

3.1 Get theme ID from command line

To get the theme ID from the command line, open up a terminal and use the list command:

theme get --list -p=[your-password] -s=[you-store.myshopify.com]

This will list all the themes that exist in your Shopify account with their IDs.

3.2 Get theme ID from console

In order to do this using your Shopify console, login to your Shopify store, click on “Online Store” in the left admin menu and then click on “Customize” on the theme you are trying to develop.

On the page that opens, you should notice a number after the /themes/ url path. This number is your theme ID, so take note of this number.

4. Create theme directory and download theme

Next we will create the theme directory on your local machine using command line and download the theme. Open a terminal and type the following commands individually while replacing the variable values with your own:

cd desktop
sudo mkdir [name-of-your-directory]
cd [name-of-your-directory]

If you are creating a new theme, use the following command replacing the appropriate values:

theme new --password=[your-password] --store=[your-store.myshopify.com] --name=[theme name]

Otherwise, you can use the theme ID you found in step 3 to get the theme you would like to work with:

theme get -p=[your-password] -s=[you-store.myshopify.com] -t=[your-theme-id]

5. Watch for theme changes

Finally, you just have to watch for changes in your local environment theme folder by using the watch command:

theme watch

That’s it! Now you can update, delete, and add files to your theme folder and the changes will be mirrored up to your Shopify account.

23 responses to “Create a Shopify Local Environment using Shopify Theme Kit”

  1. Awesome post! Keep up the great work! 🙂

  2. Like!! Thank you for publishing this awesome article.

  3. Cecile Yard says:

    Definitely believe that that you stated. Your favourite reason seemed to be at the net the easiest thing to take into account of. I say to you, I definitely get annoyed while people consider concerns that they plainly do not know about. You managed to hit the nail upon the top as neatly as defined out the whole thing with no need side-effects , other folks can take a signal. Will likely be again to get more. Thank you


  4. Signe Loreto says:

    Thank you and best of luck.


  5. Leandro says:

    Here is my web site; book epub – chuccku.shoppy.pl,

  6. SMS says:

    These are actually great ideas in concerning blogging.

  7. Corinne says:

    En Çok Okunan Kitaplar Listesi 2016 Okunacak Kitaplar 2016

    Here is my web blog – pdf book

  8. Hanna says:

    Favori Romanlar Yok Satan Kitaplar

    Also visit my web site :: ebook

  9. Tracee says:

    Internetten Kitap Okuma Ücretsiz Güncel Kitaplar Listesi 2015

    Visit my page; bog (nolan.shoppy.pl)

  10. Arletha says:

    American Born Chinese Text Global College Gurgaon

    Look at my web-site :: ebook; http://sorryshop.shoppy.pl/Produkt/f8e6on1j10,

  11. Noble says:

    Brain Science Related To Psychology The Guest Book Book Club Questions

    Feel free to visit my web site :: pdf (http://nicereview.trustlike.tw1.ru/james-dashner-maze-runner-4/)

  12. Noella says:

    War And Peace Bbc Season 2 Gail Honeyman Books

  13. Galen says:

    Children’S Literature A Very Short Introduction Very Simple
    Science Experiments To Do At Home

    Stop by my page – pdf

  14. Merlin says:

    Hatchet Book Colonial Literature Characteristics

    Also visit my web-site: books (http://ioplux.shoppy.pl/Produkt/7cqouihqy68)

  15. Jacquie says:

    Government Medical College Chhindwara Invisible Man Chevy Chase

    my web-site :: library

  16. Alissa says:

    Isaac Asimov Debate 2019 Concept Of Liberal Humanism In Literature

    Feel free to visit my web-site :: pdf book (http://plohed.shoppy.pl/Produkt/0ioes28)

  17. Whitney says:

    Science Friday March 13 Nurse Educator Institute

    Check out my web blog: ebook

  18. Percy says:

    Around The World In 80 Days Vocabulary Teaching Jobs In Dubai

    my site … pdf book

  19. Mallory says:

    A Court Of Thorns And Roses Sarah J Maas Vk Department Of Higher Education And Training Western Cape

    Have a look at my page … ebook

  20. Phyllis says:

    Total Money Makeover Dvd Prose And Poems Nick Joaquin Summary

    Here is my web page; book epub

  21. Laurie says:

    Amazon Kindle books – breddiop.shoppy.pl
    – Katie Flynn Literatura Norte Americana Autores E Obras

  22. Darcy says:

    I used to be recommended this blog through my cousin. I am no longer certain whether
    this submit is written through him as no one else
    recognize such particular about my problem. You
    are incredible! Thank you!

    Look into my blog … how does Alpha Femme Keto Genix work

  23. Franklin says:

    Engineering Chemistry Ktu Textbook Pdf Prayer Of Jabez New King James Version

    Look at my web site; books

Leave a Reply

Your email address will not be published. Required fields are marked *