11 views
   owned this note
# OpenMC Command Cheat Sheet Here you'll find most of the commands needed to setup and run an OpenMC simulation. ## Quick Docker setup command - If you're on **Windows** you should install Docker Desktop and WSL - If you're on any **Linux** distribution you only need docker to be installed and its service to be running ```bash docker run --rm -it -p 8888:8888 -e PIP_BREAK_SYSTEM_PACKAGES=1 openmc/openmc:latest \ bash -c "pip install -q jupyterlab matplotlib && \ git clone https://github.com/openmc-dev/openmc-notebooks.git /tmp/notebooks && \ jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root \ --IdentityProvider.token='openmc' --notebook-dir=/tmp/notebooks" ``` Connect with your browser to the editor: ```url http://localhost:8888/lab?token=openmc ```