Install Sitecore Command Line Interface
Sitecore Command Line Interface (CLI) is a tool that you install in a terminal.
Note
To upgrade an existing CLI installation, see Upgrade Sitecore Command Line Interface.
You can install Sitecore CLI either as a local tool for individual projects or as a global tool for all projects.
Important
We do not recommend installing Sitecore CLI as a global tool. Different Sitecore instances might need different versions of the Sitecore CLI.
You must have .NET 8 installed on your workstation before installing the Sitecore CLI. If you do not have the required version of .NET Core installed, you get the following message:
text
To install Sitecore CLI as a local project tool:
- Open a terminal with administrator privileges.
- Run the following commands to install Sitecore CLI:
bash
If you have suggestions for improving this article, let us know!