Skip to content

Commit f0141be

Browse files
authored
docs: add Chocolatey installation instructions for Windows (#107)
1 parent bf5c40e commit f0141be

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

INSTALL.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This guide covers all installation methods for RustNet across different platform
77
- [Installing from Release Packages](#installing-from-release-packages)
88
- [macOS DMG Installation](#macos-dmg-installation)
99
- [Windows MSI Installation](#windows-msi-installation)
10+
- [Windows Chocolatey Installation](#windows-chocolatey-installation)
1011
- [Linux Package Installation](#linux-package-installation)
1112
- [FreeBSD Installation](#freebsd-installation)
1213
- [Install via Cargo](#install-via-cargo)
@@ -73,6 +74,17 @@ Pre-built packages are available for each release on the [GitHub Releases](https
7374
- If Npcap is not installed or not in WinPcap compatible mode, RustNet will display a helpful error message with installation instructions
7475
- Note: Depending on your Npcap installation settings, you may or may not need Administrator privileges
7576

77+
### Windows Chocolatey Installation
78+
79+
The easiest way to install RustNet on Windows is via [Chocolatey](https://community.chocolatey.org/packages/rustnet):
80+
81+
```powershell
82+
# Run in Administrator PowerShell
83+
choco install rustnet
84+
```
85+
86+
**Note:** You still need to install [Npcap](https://npcap.com) separately with "WinPcap API compatible mode" enabled.
87+
7688
### Linux Package Installation
7789

7890
#### Ubuntu PPA (Recommended for Ubuntu 25.10+)

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,14 @@ yay -S rustnet
113113
cargo install rustnet-monitor
114114
```
115115

116+
**Windows (Chocolatey):**
117+
```powershell
118+
# Run in Administrator PowerShell
119+
choco install rustnet
120+
```
121+
116122
**Other platforms:**
117-
- **Windows/FreeBSD**: Download installers from [GitHub Releases](https://github.com/domcyrus/rustnet/releases)
123+
- **FreeBSD**: Download from [GitHub Releases](https://github.com/domcyrus/rustnet/releases)
118124
- **Docker, source builds, other Linux distros**: See [INSTALL.md](INSTALL.md) for detailed instructions
119125

120126
### Running RustNet

0 commit comments

Comments
 (0)