Sitecore CLI: Sitecore CLI is the command-line interface that provides an entry point for the interactive and automated command-line interaction with a site core instance. You can access the Sitecore CLI for free from PowerShell. In other words, it is a tool that you install in a terminal.
The term CLI stands for Command Line Interface, which connects a user to a computer program or the operating system.
In this article, you will learn Cheat Sheet for Sitecore CLI. Use these commands to save your working time.
Last Updated on Mar 16, 2022
Installation Commands:
In the below table, you will learn installation commands and their functions of Sitecore CLI. Please use these commands carefully.
Command | Function |
---|---|
cd <project folder> | If you want to go to the project to install the Sitecore CLI, use this command. |
dotnet new tool-manifest | This command is used to add dotnet tool for manifest. |
https://sitecore.myget.org/F/sc-packages/api/v3/index.json | By using this link, you can install the Sitecore CLI. |
Install Plugins & Help Commands:
In the below table, you will learn about install plugins commands and their functions of Sitecore CLI. Please use these commands carefully.
Command | Function |
---|---|
dotnet Sitecore plugin add -n Sitecore.DevEx.Extensibility.Publishing | This command is used to install the publishing plugin. |
dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.Serialization | If you want to install the serialization program, you can use this command. |
dotnet sitecore ser pkg install –help | By using this command, you can use the Sitecore package help commands. |
dotnet sitecore login –help | It is used to get the Sitecore login help commands. |
Verdict:
You can use these commands for Windows 10 and Windows 11. Kindly make sure to use shortcuts properly to save your working time.
You will learn a Cheat Sheet for Sitecore CLI. Thank you for reading this article. I hope this article is helpful. If you have any questions or doubts regarding this article, please mention them in the comment section. Thank You!!
Read More: