Aller au contenu

Install a remote theme

Ce contenu n’est pas encore disponible dans votre langue.

Download and install a theme from Github to customize the look and feel of your CV.

Find a theme on Github.

To make it easy to find, the CV Wonder Themes repositories should contain at least of of the following:

  • Repository name is prefixed with cvwonder-theme-
  • Repository topic contains cvwonder-theme

Look for CV Wonder themes on Github based on the Search and Topics.

Download and install the desired theme with the cvwonder command.

Here is an example with the theme cvwonder-theme-default:

cvwonder theme install github.com/germainlefebvre4/cvwonder-theme-default
# or
# cvwonder theme install https://github.com/germainlefebvre4/cvwonder-theme-default

You can install a specific branch or ref by appending @<ref> to the repository URL:

# Install from the develop branch
cvwonder theme install github.com/germainlefebvre4/cvwonder-theme-default@develop
# Install from a feature branch
cvwonder theme install github.com/germainlefebvre4/cvwonder-theme-default@feat/new-design
# Install from a tag
cvwonder theme install github.com/germainlefebvre4/cvwonder-theme-default@v1.0.0

If you don’t specify a branch, CVWonder will automatically use the default branch of the repository (usually main or master).

If a theme is already installed, running the install command with a different branch will switch to that branch:

# Install theme on main branch
cvwonder theme install github.com/germainlefebvre4/cvwonder-theme-default
# Later, switch to develop branch
cvwonder theme install github.com/germainlefebvre4/cvwonder-theme-default@develop
# Switch back to main and discard local changes
cvwonder theme install github.com/germainlefebvre4/cvwonder-theme-default@main --force

How it works:

  • CVWonder uses git to manage theme repositories
  • Switching branches fetches the latest changes and checks out the requested branch
  • The theme directory name remains the same (e.g., themes/default/)
  • Only the git branch inside the directory changes
  • You can verify the current branch when generating your CV

Handling local changes:

If you have made local modifications to the theme files, switching branches might fail. Use the --force flag to discard local changes:

# Force switch to a different branch, discarding local changes
cvwonder theme install github.com/germainlefebvre4/cvwonder-theme-default@develop --force

Note: Themes are installed in themes/<theme-name>/ directories (e.g., themes/default/). The git branch is managed inside the directory, not in the directory name.

Theme versioning is supported yet.

Only Github is supported for now.

If you want to use another hosting platform, please open an issue on the Github repository.