Contents
In order to improve work efficiency with Shopify Cli, Aloteam has built a small tool based on Ruby. Today I will guide you to install and use it.
1. Install:
Step 1: Some required settings before installing the tool:
-
- Ruby or Ruby+Devkit using RubyInstaller for Windows 2.7 or higher
- Shopify Ui:
gem install cli-ui
- Shopify CIi:
gem install shopify-cli
or
brew install shopify-cli
You can refer to Shopify’s Shopify Cli installation guide here.
Step 2: Download our toolkit on the following git link: https://github.com/magepow/shopify-tool and put the downloaded folder in the folder you want to put.
Step 3: In the folder you downloaded above, duplicate the aloshopify.rb file, paste the file as a shortcut, and rename it aloshopify.
![](https://magepow.com/blog/wp-content/uploads/2022/07/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-7-1024x575.png)
Step 4: Set the environment variable for the tool you just downloaded. Follow the instructions below to set the environment variable.
Go to the search section of your computer > Search for the keyword edit the system environment variables
![](https://magepow.com/blog/wp-content/uploads/2022/09/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-2-1024x576-1.png)
Click on Environment variables
![](https://magepow.com/blog/wp-content/uploads/2022/09/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-3-1024x576-1.png)
In System variables, click on New
![](https://magepow.com/blog/wp-content/uploads/2022/07/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-4-1024x576.png)
Enter the variable name and value as the link to the tool folder you downloaded above
![](https://magepow.com/blog/wp-content/uploads/2022/08/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-1024x576.png)
Also, you need to add the path to the aforementioned folder in the user variables table.
![](https://magepow.com/blog/wp-content/uploads/2022/08/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-2-1024x576.png)
![](https://magepow.com/blog/wp-content/uploads/2022/08/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-1-1024x576.png)
Click on Ok to close the popup.
2. Use:
To use the tool, go to a folder you want > Right click and select Open in terminal
![](https://magepow.com/blog/wp-content/uploads/2022/07/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-8-1024x575.png)
If you don’t see Open in terminal when you right-click you can click on the file path and type cmd.exe or C:\Windows\System32\cmd.exe to open the command windows.
![](https://magepow.com/blog/wp-content/uploads/2022/08/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-3-1024x575.png)
![](https://magepow.com/blog/wp-content/uploads/2022/08/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-2-1-1024x557.png)
Type aloshopify to run the command
![](https://magepow.com/blog/wp-content/uploads/2022/07/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-9-1024x575.png)
Now a series of options will be listed, please review and select the command you want to use and enter the number corresponding to that command.
![](https://magepow.com/blog/wp-content/uploads/2022/07/Instructions-for-installing-and-using-Alothemes-tool-for-Shopify-Cli-10-1-1024x576.png)
When using it be careful especially with some commands like 15 as it will replace all files on all your themes and all your stores.