Skip to main content

Windows Prerequisites

To use Runme on a Windows machine, you have to use the Windows Subsystem for Linux 2 (WSL 2). Currently, Runme is built on Cloud-native Shell Kernel with a notebook, editor, terminal, and CLI interface. WSL 2 makes it possible for Windows users to access the full Runme feature-set by running a full Linux kernel inside a lightweight utility virtual machine (VM) on Windows 10 and Windows 11.

In this section, we will explore the various steps required to get Runme working on your Windows machine.

Requirements

To get started, you need to:

Once all the requirements are fulfilled, start your WSL by following this article.

Install the Runme Extension

To get Runme installed in VS Code on your Windows machine, follow the steps below:

  1. Open up VS Code on your local machine.
  2. Navigate to the Extension tab, which can be located on the dashboard on your left.

runme extension

  1. In your search bar, type "Runme". This will display the Runme Notebook extension.

runme extension

  1. Now click on Install to install the Notebook extension.

Setting up Runme on WSL

To set up Runme with WSL in VS Code, follow the steps below:

Connect to WSL

In your VS Code, press F1. This will open up a dashboard containing a list of configuration/setup options. Select Connect to WSL.

runme on wsl

Alternatively, you can click on the button at the bottom left side of your VS Code dashboard, as shown in the image below, and you will be prompted with the same dashboard options.

vs code dashboard

Use Runme

After connecting to your server using WSL, the next step is to install the Runme extension on the remote server so you can use it as you like.

wsl windows

Choose a distro

Use the File menu to open your folder. If you already have a folder open, you can also use the WSL: Reopen Folder in WSL command. You will be prompted which “Distro" to use.

Verifying that it worked

Bringing it all together, you should now be able to run a command and verify that it's executing within WSL.

  • Create a Markdown file and click the “+Code” button to create a code cell for your scripts or command.

runme +code

  • Enter your command into the code cell and click Run.

click run

  • If you want to configure your code cell before running, click the configure button.

runme configure

Runme CLI with WSL

You can also access Runme from your CLI with WSL on your Windows machine by following these steps:

1. Connect to WSL

Open your terminal and run the command below:

wsl

This will connect your machine to your WSL server.

2. Install the Runme CLI

After successfully connecting to the WSL server, the next step is to install Runme CLI on your local machine.

To do this, run the command below:

brew install runme

3. Run tasks

You can run any task of your choice within your CLI. To do this, use runme <command> to execute tasks defined in the Markdown .md files.

runme cli

For more details on how to use the Runme CLI, refer to the Runme CLI reference.

Additional Resources

To learn more about how Runme works on several other client interfaces, see these resources: