A terminal-based network scanner that lists hosts in a network using nmap's ping scan. Results are displayed in an interactive terminal UI for easy browsing.
Download the latest release for Linux (amd64/arm64) or macOS (arm64) from the Releases page.
# Replace {OS}-{ARCH} with your platform (e.g., linux-amd64, macos-arm64)
curl -L https://github.com/xafardero/nls/releases/download/v0.2.0/nls-linux-amd64 -o nls
chmod +x nls
sudo mv nls /usr/local/bin/Now you can run nls from anywhere.
git clone https://github.com/xafardero/nls.git
cd nls
go build -o nls ./cmd/nlsRun as root (required for nmap ping scan):
sudo nls <CIDR>- CIDR is required (e.g.,
sudo nls 192.168.1.0/24) - Example:
sudo nls 10.0.0.0/24 - Check the installed version:
nls --version(ornls -v)
Keyboard Shortcuts:
Navigation:
↑/↓orj/k: Navigate tableesc: Toggle table focus
Actions:
s: SSH to selected hostc: Copy IP to clipboardr: Rescan network (refreshes host list)
Search & Sort:
/: Search/filter hosts (matches IP, MAC, Vendor, or Hostname)1: Sort by IP address2: Sort by MAC address3: Sort by Vendor4: Sort by Hostname- Press the same number again to toggle ascending/descending
Help & Exit:
?: Show help screen with all shortcutsqorctrl+c: Quit
- Fast network scanning using nmap's ping scan
- Displays IP, MAC address, vendor, and hostname for each host
- SSH directly to any host from the UI
- Live search/filter, column sorting, clipboard copy, and rescan — all without leaving the terminal
MIT License
