Doc

Installation

Installation Sugam Pokharel

This guide walks you through installing the Sugo theme for Hugo.

Repository: github.com/psugam/sugo

Prerequisites

Before installing Sugo, make sure you have:

RequirementMinimum Version
Hugo Extended0.146.0+
Git2.0+
Node.js18.0+
npm9.0+
Table: System Requirements

Verify installation

BASH
1
hugo version

Expected format:

TEXT
1
hugo v0.146.0+extended ...

Make sure this is the Extended Hugo build.

BASH
1
2
3
git --version
node --version
npm --version

Installation methods

1. Initialize git

BASH
1
2
cd your-hugo-site
git init

2. Add theme submodule

BASH
1
git submodule add https://github.com/psugam/sugo themes/sugo

3. Copy starter content/config

BASH
1
2
cp -r themes/sugo/content ./
cp -r themes/sugo/hugo.toml ./

Important

If your site already has conflicting content or config values, merge carefully instead of blindly replacing files.

4. Set theme name

In your root hugo.toml:

TOML
1
theme = "sugo"

5. Run locally

BASH
1
2
npm install
npm run dev

Option B: Manual download

  1. Download ZIP from github.com/psugam/sugo
  2. Extract it
  3. Move it to themes/sugo
BASH
1
mv sugo-main your-hugo-site/themes/sugo

Then follow the same config and run steps above.

Updating the theme

Submodule update

BASH
1
git submodule update --remote --merge

Manual update

  1. Download latest release/source
  2. Replace themes/sugo
  3. Review changes before deploy

Next steps

Share this article

  • X
  • Facebook
  • LinkedIn
  • Reddit
  • WhatsApp
  • Telegram
  • Pinterest
  • Bluesky