The default script option provides the fastest way to generate an Umbraco installation script with sensible, production-ready defaults. Perfect for quick setups and getting started.
psw
# Select "Use default script" from the main menupsw --default
# or
psw -dThe default script generates:
- Package: Umbraco.Templates
- Version: Latest stable release
- Type: Official Umbraco template
- Name: MyProject
- Solution: No solution file created
- Structure: Single project
- Package: clean
- Version: Latest stable
- Purpose: Provides basic content types and structure
- Type: None (manual configuration during first run)
- Unattended Install: Disabled
- Setup: Interactive setup wizard on first launch
- Additional packages: None
- Rationale: Keep it minimal, add what you need later
- Style: Multi-line with comments
- Comments: Included (explains each step)
- Format: Readable bash/PowerShell script
# Install Umbraco templates
dotnet new install Umbraco.Templates --force
# Create new Umbraco project
dotnet new umbraco --force -n "MyProject"
# Add clean starter kit
dotnet add "MyProject" package clean
# Run the project
dotnet run --project "MyProject"✅ Use default script when:
- You want to get started quickly
- You're new to Umbraco
- You're testing or learning
- You want minimal configuration
- You'll customize the project later
❌ Don't use default script when:
- You need specific packages installed
- You want unattended/automated setup
- You need Docker configuration
- You have specific database requirements
- You're deploying to production
While the default script uses fixed settings, you can customize it after generation:
After generation, select "Edit configuration" from the script actions menu to modify settings and regenerate.
Use the default script as a base but override specific settings:
# Default script with custom project name
psw --default -n MyBlog
# Default script with additional packages
psw --default -p "uSync,Diplo.GodMode"
# Default script with solution
psw --default -n MyProject -s MySolutionAfter editing the default configuration, save it as a template for reuse:
- Generate default script
- Select "Edit configuration"
- Make your changes
- Generate the script
- Select "Save as template"
- Name it (e.g., "my-default")
Now you can quickly load your customized default anytime.
After generating the default script, you can:
View the full script with syntax highlighting in your terminal.
Enter file name [install-script.sh]: quick-start.sh
✓ Script saved to quick-start.sh
Save to your preferred filename for later use.
Execute the script right away in a specified directory:
Enter directory to run script in [current directory]: ./my-project
⠋ Running script...
✓ Script completed successfully!
Modify the configuration and regenerate:
- Add packages
- Change project name
- Enable unattended install
- Add Docker support
- Modify starter kit
Save your configuration for reuse:
Enter template name: my-quick-start
Enter description: My customized default setup
✓ Template saved
| Feature | Default Script | Custom Script | Template | Community Template |
|---|---|---|---|---|
| Speed | ⚡⚡⚡ Instant | 🐢 Slow (manual) | ⚡⚡ Fast | ⚡⚡ Fast |
| Customization | ❌ Minimal | ✅ Full control | ✅ Pre-configured | ⚡ Limited |
| Packages | Clean kit only | Any packages | Pre-selected | Pre-selected |
| Best For | Quick starts | Complex setups | Repeated setups | Common scenarios |
# Generate and run immediately
psw --default
# Select "Run immediately"
# Enter directory: ./test-site
# Done! Umbraco running locally# Generate default script
psw --default
# Select "Save to file"
# Enter filename: umbraco-base.sh
# Share with team or save for later# Start with default
psw --default
# Select "Edit configuration"
# Add packages: uSync, Diplo.GodMode
# Enable unattended install
# Generate new script
# Select "Save as template"
# Name: "my-enhanced-default"⚠ Package 'clean' not found
Solution: The clean starter kit may have been updated. Check the latest version:
dotnet search clean --take 5⚠ Template already installed
Solution: This is normal. The --force flag ensures it's updated to the latest version.
✗ Error: Directory 'MyProject' already exists
Solution:
- Use a different project name:
psw --default -n MyProject2 - Delete or rename the existing directory
- Run in a different location
- Custom Script Guide - Build fully customized scripts
- Templates Guide - Save and reuse configurations
- Interactive Mode - Full interactive mode guide
- CLI Documentation - Complete CLI reference