Update the MyST Markdown Command Line Interface
Update the MyST CLI using your favourite package manager
Update the MyST CLI¶
There are new releases of the MyST Markdown CLI every few weeks. To update to the latest version of myst
, choose the package manager that you used in Install the MyST Markdown Command Line Interface:
mamba update -c conda-forge mystmd
pip install -U mystmd
npm update -g mystmd
Try the myst --version
command before and after, with an update you should have the most up to date version (see npm for the latest version!). If you not, then you probably have multiple copies of myst
installed on your computer, which should be removed before re-installing MyST.
Update the MyST templates and themes¶
The MyST templates define how myst renders content into outputs like HTML and PDF. These are updated independently of the MyST CLI. If a template is not downloaded locally when you build documents with MyST, the latest version will be downloaded.
To get the latest templates, clean your templates directory with:
myst clean --templates
This will remove the _build/templates
directory, which will be re-downloaded with the latest templates when you run myst start
or myst build
.