Loading...
Loading...
Generate Umbraco CMS installation scripts using the Package Script Writer CLI
npx skill4agent add umbraco/umbraco-cms-backoffice-skills package-script-writerpswpsw --versionexport PATH="$PATH:$HOME/.dotnet/tools" && psw --version%USERPROFILE%\.dotnet\tools\psw --versiondotnet tool install --global PackageScriptWriter.Cliexport PATH="$PATH:$HOME/.dotnet/tools"
psw -d -n ProjectName -s ProjectName -u --database-type SQLite --admin-email admin@test.com --admin-password SecurePass1234 --auto-runrun_in_background: true-ddotnet run-u--auto-run-o--auto-runadmin@test.comSecurePass1234psw -d -n ProjectName -s ProjectName -u --database-type SQLite --admin-email admin@test.com --admin-password "SecurePass1234" -p "uSync,Umbraco.Forms" --auto-runpsw -d -n ProjectName -s ProjectName -u --database-type SQLite --admin-email admin@test.com --admin-password "SecurePass1234" -p "uSync|17.0.0,Umbraco.Forms|17.0.1" --auto-run| Flag | Description |
|---|---|
| REQUIRED - generates full installation script |
| Project name |
| Solution name |
| Use unattended install defaults |
| SQLite, LocalDb, SQLServer, SQLAzure, SQLCE |
| Admin email for unattended install |
| Admin password for unattended install |
| Execute the generated script |
| Comma-separated packages (e.g., "uSync,Umbraco.Forms") |
| Umbraco template with optional version |
| Enable Content Delivery API |
# Check the output for the port number (e.g., "Now listening on: https://localhost:44356")
# Then poll until ready:
for i in {1..30}; do
if nc -z localhost 44356 2>/dev/null; then
echo "Umbraco is ready!"
break
fi
sleep 2
donepsw versions # Show Umbraco versions with support status
psw history list # Show recent scripts
psw history rerun 1 # Re-run script #1
psw --clear-cache # Clear cached API responses