Skip to content

Using Macaulay2 with jupyter and vscode (discussion)

Mike Stillman edited this page May 17, 2025 · 13 revisions

I (Mike Stillman) will be meeting with Paul Zinn-Justin and John Cobb at Fields about May 19-20, 2025 (and hopefully with Doug Torrance remotely). Here we will record what is the "best" way to use jupyter with M2, either in a browser, or through vscode. Additionally, we will be working on the vscode Macaulay2 extension, as well as nascent Macaulay2 language server, which Doug has started.

We can use this wiki page to record what we do, and to get ideas from others.

Issues for us to consider (please add to this list) to improve the installation and usage of the vscode extension, and/or the jupyter M2 kernel/notebook server.

Notes on installing jupyter

See gist for notes about installing on MacOS (most of this is relevant for any system).

Notes on installing vscode Macaulay2 extension

Notes on working with the M2 LSP (Language server protocol), for use in any editor that supports the protocol, including vscode and emacs.

Clone this wiki locally