Quick answer
For most beginners on Windows, install MiKTeX with its basic installer and use TeXstudio as the editor. If you want a distribution that works the same way on Linux and macOS, install TeX Live instead. You can also skip the local install entirely and use Overleaf in a browser.
Before you start
- Check whether you have administrator rights. Some installer options need them, and a system-wide install is easier to maintain.
- Plan for disk space and time. The full TeX Live set takes several gigabytes, and both installers download many files.
- Use a stable internet connection, because the installers fetch packages during setup.
A note on Windows 10 support
Microsoft ended free security updates for Windows 10 in October 2025. LaTeX installs the same way on Windows 10 and Windows 11. If your PC still runs Windows 10, consider moving to Windows 11 if your hardware supports it, or check your options for a supported system.
Choose a distribution
A distribution is the bundle of programs and packages that LaTeX needs. Three common options for Windows are below.
| MiKTeX | TeX Live | TinyTeX | |
|---|---|---|---|
| Good for | Beginners on Windows | Users who want the standard, cross-platform set | Small installs, R Markdown, and automated builds |
| Packages | Installed when a document needs them | Large set installed up front, more added with tlmgr |
Starts small; you add packages as needed |
| Package manager | MiKTeX Console | tlmgr |
tlmgr |
| Disk use | Moderate, grows with use | Large | Small to start |
Install MiKTeX
Graphical installer
- Go to miktex.org and download the Basic MiKTeX installer for Windows.
- Run the installer and choose whether to install for you only or for all users.
- MiKTeX can install missing packages on the fly, the first time a document needs them. You can change this setting later in the MiKTeX Console.
- Finish the installation. Open the MiKTeX Console and check for updates under Updates.
Command-line install with winget
If you use the Windows Package Manager, you can install MiKTeX from PowerShell or Command Prompt:
winget install --id MiKTeX.MiKTeX
Install TeX Live
- Go to tug.org/texlive and download the Windows installer,
install-tl-windows.exe. - Run it. Choose the default scheme for a balanced install, or the full scheme if you want everything. The full scheme is much larger.
- Let the installer finish. It downloads packages from the internet, so this can take a long time.
- Open a new terminal and run the following to update the package manager and installed packages:
tlmgr update --self --all
If you see permission errors, reopen the terminal as administrator and run the command again.
TinyTeX for R users
If you mainly write R Markdown documents, TinyTeX is a small install based on TeX Live. From an R session, run:
install.packages("tinytex")
tinytex::install_tinytex()
TinyTeX starts small, and you add packages as your documents need them.
Pick an editor
- TeXstudio is a common beginner choice. It has a built-in PDF viewer and error checking. Download it from texstudio.org.
- TeXworks ships with both MiKTeX and TeX Live, so it may already be on your PC.
- Texmaker is a cross-platform alternative with similar features.
- VS Code with the LaTeX Workshop extension suits people who already use VS Code.
For a longer comparison, see which software is best for LaTeX.
Check your installation
Open a new Command Prompt or PowerShell window. A window that was open before the install may not see the new settings. Run:
pdflatex --version
You should see a version line for pdfTeX. Next, create a file named hello.tex with this content:
\documentclass{article}
\begin{document}
Hello, \LaTeX!
\end{document}
Compile it from the same folder:
pdflatex hello.tex
Open hello.pdf from that folder. If the PDF opens and says “Hello, LaTeX!”, your install works. The first compile may pause while MiKTeX installs packages it needs. That is normal.
Troubleshooting
- “pdflatex is not recognized as an internal or external command.” Close and reopen the terminal and your editor, then try again. If it still fails, the TeX programs are not on your PATH. Check where the install placed its
binfolder and add it to PATH. - “File ‘xyz.sty’ not found.” A package is missing. See how to install LaTeX packages.
- SmartScreen warns about the TeX Live installer. Before you continue, confirm that you downloaded the file from tug.org.
- Errors in your own document. Fix the first error in the log first. The getting started guide covers the most common messages.
Updating your installation
- MiKTeX: open the MiKTeX Console, go to Updates, and check for updates.
- TeX Live: run
tlmgr update --self --allfrom time to time.
Next steps
- Add a package that a document needs: how to install LaTeX packages
- Compare editors: which software is best for LaTeX
- Write your first document: getting started with LaTeX