Skip to content

Command Line Interface (CLI)

This page lists the available commands and options of the RenderCV CLI.

Options of the rendercv command

  • --version or -v

    Shows the version of RenderCV.

    rendercv --version
    
  • --help or -h

    Shows the help message.

    rendercv --help
    

Options of the rendercv new command

  • --theme "THEME_NAME"

    Generates files for a specific built-in theme, instead of the default classic theme. Currently, the available themes are: classic, moderncv, sb2nov, engineeringresumes.

    rendercv new "Full Name" --theme "THEME_NAME" 
    
  • --dont-create-theme-source-files or -nolatex

    Prevents the creation of the theme source files. By default, the theme source files are created.

    rendercv new "Full Name" --dont-create-theme-source-files
    
  • --dont-create-markdown-source-files or -nomd

    Prevents the creation of the Markdown source files. By default, the Markdown source files are created.

    rendercv new "Full Name" --dont-create-markdown-source-files
    
  • --help or -h

    Shows the help message.

    rendercv new --help
    

Options of the rendercv render command

  • --use-local-latex-command "LATEX_COMMAND" or -use "LATEX_COMMAND"

    Generates the CV with the local $\LaTeX$ installation, i.e., runs LATEX_COMMAND. By default, RenderCV uses its own TinyTeX distribution.

    rendercv render "Full_Name_CV.yaml" --use-local-latex-command "pdflatex" 
    
  • --output-folder-name "OUTPUT_FOLDER_NAME" or -o "OUTPUT_FOLDER_NAME"

    Generates the output files in a folder with the given name. By default, the output folder name is rendercv_output. The output folder will be created in the current working directory.

    rendercv render "Full_Name_CV.yaml" --output-folder-name "OUTPUT_FOLDER_NAME"
    
  • --latex-path "PATH" or -latex "PATH"

    Copies the generated $\LaTeX$ source code from the output folder and pastes it to the specified path.

    rendercv render "Full_Name_CV.yaml" --latex-path "PATH"
    
  • --pdf-path "PATH" or -pdf "PATH"

    Copies the generated PDF file from the output folder and pastes it to the specified path.

    rendercv render "Full_Name_CV.yaml" --pdf-path "PATH"
    
  • --markdown-path "PATH" or -md "PATH"

    Copies the generated Markdown file from the output folder and pastes it to the specified path.

    rendercv render "Full_Name_CV.yaml" --markdown-path "PATH"
    
  • --html-path "PATH" or -html "PATH"

    Copies the generated HTML file from the output folder and pastes it to the specified path.

    rendercv render "Full_Name_CV.yaml" --html-path "PATH"
    
  • --png-path "PATH" or -png "PATH"

    Copies the generated PNG files from the output folder and pastes them to the specified path.

    rendercv render "Full_Name_CV.yaml" --png-path "PATH"
    
  • --dont-generate-markdown or -nomd

    Prevents the generation of the Markdown file.

    rendercv render "Full_Name_CV.yaml" --dont-generate-markdown
    
  • --dont-generate-html or -nohtml

    Prevents the generation of the HTML file.

    rendercv render "Full_Name_CV.yaml" --dont-generate-html
    
  • --dont-generate-png or -nopng

    Prevents the generation of the PNG files.

    rendercv render "Full_Name_CV.yaml" --dont-generate-png
    
  • --ANY.LOCATION.IN.THE.YAML.FILE "VALUE"

    Overrides the value of ANY.LOCATION.IN.THE.YAML.FILE with VALUE. This option can be used to avoid storing sensitive information in the YAML file. Sensitive information, like phone numbers, can be passed as a command-line argument with environment variables. This method is also beneficial for creating multiple CVs using the same YAML file by changing only a few values. Here are a few examples:

    rendercv render "Full_Name_CV.yaml" --cv.phone "+905555555555"
    
    rendercv render "Full_Name_CV.yaml" --cv.sections.education.1.institution "Your University"
    

    Multiple --ANY.LOCATION.IN.THE.YAML.FILE "VALUE" options can be used in the same command.

  • --help or -h

    Shows the help message.

    rendercv render --help
    

Options of the rendercv create-theme command

  • --based-on "THEME_NAME"

    Generates a custom theme based on the specified built-in theme, instead of the default classic theme. Currently, the available themes are: classic, moderncv, sb2nov, engineeringresumes.

    rendercv create-theme "mycustomtheme" --based-on "THEME_NAME"
    
  • --help or -h

    Shows the help message.

    rendercv create-theme --help