Skip to content

akshaybabloo/uHugo

Repository files navigation

uHugo

PyPI version Docs

uHugo is a CLI tool to install and update Hugo binary as well as updating any cloud providers

Instillation

uHugo depends on Python 3.6+, on your terminal:

pip install uhugo

Once installed you can test it by:

uhugo --version

Usage

uHugo provides two main commands - install and update

Install

Using uhugo install, will download the latest binary file from Hugo's repository and adds it to $HOME/bin folder. You can force install by using uhugo install --force.

Note: Make sure you have $HOME/bin in your $PATH environment variable

uhugo install

Update

Using uhugo update, will update the current binary to the latest one. You can use --to flag to specify the version you want to rather update to. Example uhugo update --to 0.80.0

uhugo update

Providers

Providers can be used to update Hugo environment variables or configuration files of a cloud provider. See the provider docs for more information.