Skip to content

Intermediate Guide

This guide is for users who plan to create multiple websites. Instead of installing tools for each site, we’ll install them once globally on your system.

ApproachBest ForSetup Time
QuickstartOne website, fastest setupEach site reinstalls tools
IntermediateMultiple websitesInstall once, create many

By the end, you will have:

  • ✓ Installed Pixi, Git, and Hugo globally on your system
  • ✓ Created your first site using the global tools
  • ✓ Learned how to create additional sites quickly

Same as the Quickstart:


First, we’ll install the three tools you’ll need: Pixi (package manager), Git (version control), and Hugo (site generator).

Open Terminal and run:

Terminal window
curl -fsSL https://quick-site-handbook.pages.dev/install-tools.sh | bash

Open PowerShell and run:

Terminal window
irm https://quick-site-handbook.pages.dev/install-tools.ps1 | iex

What does this do?

This script:

  1. Checks if Pixi is installed (installs it if not)
  2. Runs pixi global install git to install Git
  3. Runs pixi global install hugo to install Hugo

These tools are now available system-wide, not just in one project folder.

Wait for the installation to complete. You may need to restart your terminal/PowerShell when done.


Now that tools are installed, creating a site is much faster.

Go to the Command Generator and select:

  • Tab: “Create Site Only” (not “Ultimate Command”)
  • Fill in your site name, theme URL, and folder path
  • Copy the command

Mac / Linux (Terminal):

Terminal window
# Paste the command from the generator
curl -fsSL https://quick-site-handbook.pages.dev/new-site.sh | bash -s -- -s mysite -t https://github.com/theNewDynamic/gohugo-theme-ananke.git -p /path/to/sites

Windows (PowerShell):

Terminal window
# Paste the command from the generator
irm https://quick-site-handbook.pages.dev/new-site.ps1 | iex -s -- -s mysite -t https://github.com/theNewDynamic/gohugo-theme-ananke.git -p C:\path\to\sites

What does this do?

This script:

  1. Creates a new Hugo site with hugo new site
  2. Initializes Git with git init
  3. Adds your theme as a Git submodule
  4. Configures hugo.toml with the theme name
  5. Creates a helpful README.md and .gitignore

Follow the same steps as the Quickstart:

  1. Upload to GitHub using GitHub Desktop

    • Add existing repository
    • Publish to GitHub
  2. Deploy on Cloudflare Pages

    • Connect your GitHub repository
    • Select “Hugo” as the framework preset
    • Deploy!

See the Quickstart Steps 4-5 for detailed instructions.


Now that tools are installed globally, creating more sites is simple:

  1. Go to the Command Generator
  2. Select “Create Site Only” tab
  3. Fill in new site name, theme, and folder
  4. Copy and run the command

If you prefer to understand each step:

Terminal window
# Create a new site
hugo new site my-second-site
cd my-second-site
# Initialize git
git init
# Add a theme (replace with your theme URL)
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
# Configure the theme
echo "theme = 'ananke'" >> hugo.toml
# Create a README
cat > README.md << 'EOF'
# My Second Site
## Development
- Edit content in `content/`
- Test locally: `hugo server -D`
- View at: http://localhost:1313
## Deployment
Changes pushed to GitHub automatically deploy to Cloudflare Pages.
EOF
# Create .gitignore
cat > .gitignore << 'EOF'
# Generated files
public/
resources/
.hugo_build.lock
# OS files
.DS_Store
Thumbs.db
EOF

To see what versions you have:

Terminal window
# Check Hugo version
hugo version
# Check Git version
git --version
# Check Pixi version
pixi --version

To update to the latest versions:

Terminal window
# Update Hugo
pixi global upgrade hugo
# Update Git
pixi global upgrade git
# Update all global packages
pixi global upgrade-all

If you need to remove the tools:

Terminal window
pixi global remove hugo
pixi global remove git

With global installation, you can easily preview sites before pushing to GitHub:

Terminal window
# Navigate to your site folder
cd /path/to/your-site
# Start development server
hugo server -D
# Open http://localhost:1313 in your browser
  • Edit files and see changes instantly
  • Press Ctrl+C to stop the server
  • The -D flag includes draft content

Global install advantages:

  • ✅ Create sites faster (no re-installation)
  • ✅ Use development server (hugo server)
  • ✅ Easier to manage and update tools
  • ✅ Better for learning and experimentation

When to use Quickstart instead:

  • You’re only making one website ever
  • You want the absolute simplest setup
  • You don’t want tools installed on your system