Skip to content

Commit

Permalink
Add binary and Homebrew support for CLI microsoft#25
Browse files Browse the repository at this point in the history
  • Loading branch information
PratibhaK11 committed Dec 16, 2024
1 parent 5b4dcaf commit e521eeb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ or from the source
```sh
pip install -e .
```
# Homebrew Installation (for macOS users)
If you're on macOS, you can install markitdown via Homebrew:

```sh
brew install markitdown
```

This provides a convenient method to install and run markitdown directly from the terminal, with no need to install Python or other dependencies.

# Usage
The API is simple:
Expand Down
3 changes: 2 additions & 1 deletion src/markitdown/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: MIT
import sys
from ._markitdown import MarkItDown
from markitdown._markitdown import MarkItDown


def main():
Expand Down Expand Up @@ -40,3 +40,4 @@ def main():

if __name__ == "__main__":
main()

0 comments on commit e521eeb

Please sign in to comment.