DEV Community

Cover image for sitecore cli setup
karleeov
karleeov

Posted on

sitecore cli setup

been working on sitecore azure openai project
i find to install the cli have to be using dotnet 6
with this setup hope this would helps you too

cd
dotnet new tool-manifest
dotnet nuget add source -n Sitecore https://nuget.sitecore.com/resources/v3/index.json
dotnet tool install Sitecore.CLI

dotnet sitecore init

dotnet sitecore plugin list

dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.Serialization
dotnet sitecore plugin add -n Sitecore.DevEx.Extensibility.Publishing

Top comments (1)

Collapse
 
sloan profile image
Sloan the DEV Moderator

Just a heads up that you can add highlighting to the code blocks if you'd like. Just change:

code block with no colors example

... to specify the language:

code block with colors example

More details in our editor guide!