sitecore cli setup

karleeov - Nov 28 '23 - - Dev Community

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

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .