How to install netcat on Windows

Simple, you can install netcat with cygwin

Read more:
How to add packages after install Cygwin

apt-cyg install nc


$ apt-cyg install nc
Installing nc
--2019-01-16 20:27:00--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17895 (17K) [application/octet-stream]
Saving to: ‘nc-1.107-4.tar.bz2’

nc-1.107-4.tar.bz2  100%[===================>]  17.48K  11.5KB/s    in 1.5s

2019-01-16 20:27:08 (11.5 KB/s) - ‘nc-1.107-4.tar.bz2’ saved [17895/17895]

nc-1.107-4.tar.bz2: OK
Package nc requires the following packages, installing:
Package cygwin is already installed, skipping
Running /etc/postinstall/
Package nc installed

install netcat

Done!, now you can use netcat

$ nc
usage: nc [-46CDdhklnrtUuvz] [-I length] [-i interval] [-O length]
          [-P proxy_username] [-p source_port] [-s source] [-T ToS]
          [-V rtable] [-w timeout] [-X proxy_protocol]
          [-x proxy_address[:port]] [destination] [port]

Leave a Reply