A simple command-line tool for displaying local network interface information
ipl quickly lists your network interfaces, along with their IPv4 addresses and subnet masks, in a clean, color-coded output.
- Clear Output: Displays interface name, IPv4 address, and mask in a single, readable line.
- Color-Coded: Uses colors to distinguish between different parts of the output for better readability.
- Cross-Platform: Works on Linux, Windows, and macOS.
Pre-compiled binaries for Linux, Windows, and macOS are available on the Releases page.
You can install ipl directly using go install:
go install github.com/qrxnz/ipl@latestTo build from source, you need to have Go installed.
git clone https://github.com/qrxnz/ipl.git
cd ipl
go build -o ipl .Alternatively, if you have Task installed, you can use:
task build- Run without installing
nix run github:qrxnz/ipl- Add to a Nix Flake
Add input in your flake like:
{
inputs = {
ipl = {
url = "github:qrxnz/ipl";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}With the input added you can reference it directly:
{ inputs, system, ... }:
{
# NixOS
environment.systemPackages = [ inputs.ipl.packages.${pkgs.system}.default ];
# home-manager
home.packages = [ inputs.ipl.packages.${pkgs.system}.default ];
}- Install imperatively
nix profile install github:qrxnz/iplRun the compiled binary from your terminal:
iplThis project is licensed under the MIT License.
