| sidebar_position | 2 |
|---|
This guide will help you install NetTraceX on your system.
- Go 1.21 or later: Download from golang.org
- Make (for Unix/Linux/macOS) or PowerShell (for Windows)
# Clone the repository
git clone https://github.com/nettracex/nettracex-tui.git
cd nettracex
# Download dependencies
make deps
# Build the application
make build
# Install to system (optional)
sudo make install# Clone the repository
git clone https://github.com/nettracex/nettracex-tui.git
cd nettracex
# Download dependencies
go mod download
go mod tidy
# Build the application
go build -o bin/nettracex.exe ./cmd/nettracex
# Add to PATH (optional)
# Add the bin directory to your system PATHgo install github.com/nettracex/nettracex-tui@latestbrew install nettracexchoco install nettracexsudo snap install nettracexAfter installation, verify that NetTraceX is working correctly:
nettracex --versionYou should see output similar to:
NetTraceX v1.0.0
Built with Go 1.21.0
NetTraceX uses a hierarchical configuration system:
- Default values (built-in)
- Configuration file (
~/.config/nettracex/nettracex-tui.yaml) - Environment variables (prefixed with
NETTRACEX_)
On first run, NetTraceX will create a default configuration file:
nettracex --init-configThis creates ~/.config/nettracex/nettracex-tui.yaml with default settings.
If you get a "command not found" error, ensure the binary is in your PATH:
# Check if the binary exists
ls -la bin/nettracex
# Add to PATH temporarily
export PATH=$PATH:$(pwd)/bin
# Add to PATH permanently (add to ~/.bashrc or ~/.zshrc)
echo 'export PATH=$PATH:/path/to/nettracex/bin' >> ~/.bashrcEnsure the binary is in your system PATH:
- Copy
nettracex.exeto a directory in your PATH (e.g.,C:\Windows\System32) - Or add the directory containing the binary to your system PATH
On Unix/Linux/macOS, you might need to make the binary executable:
chmod +x bin/nettracexIf you encounter issues:
- Check the GitHub Issues
- Join our Discord Community
- Read the Configuration Guide
- Configuration - Learn how to configure NetTraceX
- Quick Start Guide - Get up and running quickly
- API Reference - Complete API documentation