Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ Please note we recently accidentally made this repo private for a moment, and Gi
- [Installation instructions →](https://httpie.io/docs#installation)
- [Full documentation →](https://httpie.io/docs)

```bash
# pip
pip install httpie

# pipx (recommended for CLI tools)
pipx install httpie

# Homebrew
brew install httpie
```

## Features

- Expressive and intuitive syntax
Expand Down
3 changes: 2 additions & 1 deletion httpie/output/ui/man_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import subprocess
import os
import sys
from httpie.context import Environment


Expand All @@ -18,7 +19,7 @@ def is_available(program: str) -> bool:
Check whether `program`'s man pages are available on this system.

"""
if NO_MAN_PAGES or os.system == 'nt':
if NO_MAN_PAGES or sys.platform == 'win32':
return False
try:
process = subprocess.run(
Expand Down
Loading