Skip to content


NPM Package

yarn add molstar


npm install molstar

Mol* code can then be imported from the molstar/lib/... namespace, e.g.

import { PluginContext } from 'molstar/lib/mol-plugin/context';

Clone from GitHub

git clone
cd molstar
npm install
npm build

For a watch task to automatically rebuild the source code on changes, run

npm run watch

or if working just with the Viewer app for better performance

npm run watch-viewer