Only need execute this command in terminal:
swift install.swift
create folder with this command
mkdir -p ~/Library/Developer/Xcode/Templates
after when we create a template folder use this command for go on User Templates folder
cd ~/Library/Developer/Xcode/Templates
then clone the repository on this folder
git clone https://github.com/amine2233/XcodeTemplate.git *