Download
KOMA-Script is part of every major TeX distribution and available on CTAN. The project itself is hosted on SourceForge.
Is it already installed?
In most cases, KOMA-Script is already installed with your LaTeX distribution. Check from a shell:
kpsewhich scrbook.clsIf a path is returned, you're ready to go.
Via your distribution
Vanilla TeX Live (Linux / macOS / Windows)
If you installed TeX Live directly from tug.org
(not via apt/dnf/brew), use tlmgr to install and update KOMA-Script:
tlmgr install koma-script # install
tlmgr update koma-script # updateTeX Live from Linux / macOS package managers
If you installed TeX Live through your system's package manager, you should stick with
that package manager for updates. Mixing tlmgr with the system package manager
rarely works reliably.
sudo apt install texlive-latex-extra && sudo apt upgrade # Debian / Ubuntu
sudo dnf install texlive-koma-script && sudo dnf upgrade # Fedora
sudo pacman -S texlive-latexextra && sudo pacman -Syu # Arch Linux
brew install --cask mactex && brew upgrade --cask mactex # macOSMiKTeX (Windows / macOS / Linux)
MiKTeX installs missing packages on demand. Alternatively use the MiKTeX Console
to install and update koma-script via the package manager.
Where to get it
| Source | Link | What for |
|---|---|---|
| CTAN | ctan.org/pkg/koma-script | Catalogue entry for the whole collection. The individual classes and packages also have their own CTAN entries. |
| SourceForge | sourceforge.net/p/koma-script | Project hosting: source code, wiki, issue tracker, file archive |
| Old versions | sourceforge.net/projects/koma-script/files/KOMA-Script | Releases covering more than the last ten years, see Old Versions |
Source code
The source code of KOMA-Script is currently maintained in a public Subversion repository on SourceForge. A switch to Git is planned, and a move to Codeberg is being considered as part of that. Details are on The Subversion Repository.
Updates
Keeping your TeX distribution up to date brings in the latest version on its own. What matters is sticking to one update method:
| Installed via | Update command |
|---|---|
| Vanilla TeX Live | tlmgr update koma-script |
| apt / dnf / pacman / brew | that package manager (e.g. sudo apt upgrade) |
| MiKTeX | miktex update or MiKTeX Console |