MyST is available through NodeJS and the node package manager,
npm. Node is used by Jupyter as well as many other Python packages so you may already have it installed on your PATH and the following command may just work 🤞.
🛠️ Install NodeJS and run the following command:
npm install -g myst-cli
This will install
myst globally (
-g) on your system and add a link to the main CLI tool. To see if things worked, try checking the version with:
This command should print the current version of the package. If all is good, you can type
myst again in your terminal and it will list the help with all of the options available to you.
There are new releases of the MyST CLI every few weeks, to update to the latest version of
npm update -g myst-cli
myst --version command before and after, with an update you should be on the most up to date version (see npm for the latest version!). If you are not, try
npm uninstall -g myst-cli or without the
-g global flag, until
myst is no longer available on your command line. Then try installing again!
#Dependencies for and PDF
For the mystjs library on GitHub,
git clone and you can install the dependencies and then create a local copy of the library with the
npm run dev command.
git clone email@example.com:executablebooks/mystjs.git cd mystjs npm install npm run dev
This will create a local copy of
myst for use on the command line and start various web-servers for testing.