There are the Latin Modern Fonts, from their README:
The fonts are based on Donald E. Knuth's Computer Modern fonts in the
PostScript Type 1 format
In family lmtt, there are even three series:
\documentclass{article}
% \usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
\ttfamily
\fontseries{l}\selectfont light
\fontseries{m}\selectfont medium
\fontseries{b}\selectfont bold
\end{document}

They are also available in OpenType font format with
a math version.
The number of glyphs is dramatically increased in comparison to
the old Computer Modern fonts.
Thus indeed much has happened in the last twenty years.
\texttt(using Computer Modern Typerwriter font) does not have a bold font. So you'd have to get a bold typewriter font first... – Werner Dec 05 '14 at 05:09\usepackage{courier}- see: https://tex.stackexchange.com/a/619953/171556 – Victoria Stuart Jan 06 '24 at 18:56