Skip to main content

Installation

Markdown-OS is distributed as a Python package on PyPI. You can install it using pip or the modern uv package manager.

Requirements

Python Version

Python 3.11 or higher (3.11, 3.12, 3.13 tested)

Operating System

Linux, macOS, or Windows (with POSIX compatibility notes)
File locking uses POSIX fcntl and is optimized for Linux/macOS. Windows users may need WSL for full compatibility.

Install with pip

The standard Python package installer:
This installs the markdown-os CLI command globally in your Python environment.
Installing with pip in your global Python environment may cause dependency conflicts. Consider using a virtual environment or pipx for isolated installation.
For isolated CLI tool installation:
This creates an isolated environment and adds the command to your PATH without affecting other Python packages. uv is a fast, modern Python package manager. It’s the recommended installation method for Markdown-OS.

Install uv

If you don’t have uv installed:

Install Markdown-OS

Use uv’s tool installer for clean, isolated installation:
This creates an isolated environment and makes the markdown-os command available globally.
The uv tool install command is similar to pipx install but uses uv’s faster resolver and installer.

Verify Installation

Check that Markdown-OS is installed correctly:
You should see output like:

Upgrading

Upgrade with pip

Upgrade with uv

Check the GitHub releases or PyPI page for the latest version.

Uninstalling

Uninstall with pip

Uninstall with uv

Dependencies

Markdown-OS automatically installs the following Python dependencies: These are handled automatically during installation.

Development Installation

If you want to contribute to Markdown-OS or run the development version:
1

Clone the repository

2

Install uv (if needed)

3

Install dependencies

This reads pyproject.toml and installs all dependencies including dev tools.
4

Run from source

Running Tests

The project includes 61 async-compatible tests using pytest:

Troubleshooting

Command Not Found

If markdown-os is not found after installation:
  1. Check your PATH: Ensure pip/uv’s bin directory is in your PATH
  2. Reinstall: Try uninstalling and reinstalling
  3. Use full path: Try python -m markdown_os.cli instead

Python Version Errors

Markdown-OS requires Python 3.11+. Check your version:
If you have multiple Python versions:
Or with uv:

Import Errors

If you see import errors, ensure all dependencies are installed:

Port Already in Use

Markdown-OS defaults to port 8000 but auto-increments if occupied. Watch the CLI output for the actual URL:
You can also specify a custom port:

Platform-Specific Notes

macOS

macOS users should have no issues. The app opens your default browser automatically.

Linux

Linux users may see harmless dbus warnings when the browser auto-opens:
These can be ignored. The server still works perfectly.

Windows

Windows users should use WSL (Windows Subsystem for Linux) for best compatibility due to file locking differences:
Then install and run Markdown-OS from within WSL.

Cloud VMs and Remote Access

If running on a cloud VM or remote server, bind to 0.0.0.0 to allow external access:
Binding to 0.0.0.0 exposes your files to the network without authentication. Only use this on trusted networks or with proper firewall rules.

Next Steps

Quick Start Guide

Learn how to use Markdown-OS with real examples