nxtrace /NTrace-core

NextTrace, an open source visual route tracking CLI tool

★ 8,270⑂ 495👁 27⑃ 152● 143▤ 96
GoCreated 2022-05-11www.nxtrace.org
8,270
stars
+0+5+61
495
forks
27
watchers
152
prs
143
issues
96
releases
–
discussions

README

NextTrace


一款追求轻量化的开源可视化路由跟踪工具。

---

主页:www.nxtrace.org


  
    
  
  
    
  
  
    
  


 IAAS Sponsor


    
        
    
        
    
        
    
        
    
        
    


我们非常感谢 DMIT、 Misaka 和 SnapStack 提供了支持本项目所需的网络基础设施。

 默认模式迁移公告:最早于 2027 年

 下游开发者请注意: NextTrace 将最早于 2027 年将 nexttrace 和 nexttrace-tiny 的默认运行与显示模式切换为 MTR,单独使用 --raw 时也将切换为 MTR RAW。传统 traceroute 及其 RAW 输出将继续通过 -k/--traceroute 提供。依赖当前行为的程序应提前使用 --traceroute 或 --traceroute --raw。本次版本尚未切换默认模式,具体切换版本将另行公告。 ntr 继续作为 MTR 专用版。

 How To Use

Document Language: English | 简体中文

⚠️ 请注意:我们欢迎来自社区的PR提交,但是请将您的PR提交至 NTrace-dev 仓库,而不是 NTrace-core 仓库。
关于NTrace-dev和NTrace-core两个仓库的说明:
二者将大体上保持一致。所有的开发工作均在NTrace-dev仓库中进行。NTrace-dev仓库首先发布新版本,在稳定运行一段时间后(时长不定),我们会把版本同步至NTrace-core。这意味着NTrace-dev仓库充当了一个“测试版”的角色。
请注意,版本同步也存在例外。如果NTrace-dev的某个版本出现了严重的bug,NTrace-core会跳过这一有缺陷的版本,直接同步到下一个修复了该问题的版本。

 Before Using

使用 NextTrace 之前,我们建议您先阅读 IP 数据以及精准度说明,在了解您自己的对数据精准度需求以后再进行抉择。

 Automated Install

- Debian / Ubuntu
  - 推荐:通过官方 nexttrace-debs APT 源安装
    - 当前支持:amd64、i386、arm64、armel、armhf、loong64、mipsel、mips64el、ppc64el、riscv64、s390x
    - 添加源并安装默认包:
      shell
      sudo install -d -m 0755 /etc/apt/keyrings
      curl -fsSL -o /tmp/nexttrace-archive-keyring.gpg https://github.com/nxtrace/nexttrace-debs/releases/latest/download/nexttrace-archive-keyring.gpg
      sudo install -m 0644 /tmp/nexttrace-archive-keyring.gpg /etc/apt/keyrings/nexttrace.gpg
      rm -f /tmp/nexttrace-archive-keyring.gpg
      printf '%s\n' 'Types: deb' 'URIs: https://github.com/nxtrace/nexttrace-debs/releases/latest/download/' 'Suites: ./' 'Signed-By: /etc/apt/keyrings/nexttrace.gpg' | sudo tee /etc/apt/sources.list.d/nexttrace.sources /dev/null
      sudo apt update
      sudo apt install nexttrace
      
    - 可选:安装额外的 flavor:
      shell
      sudo apt install nexttrace-tiny
      sudo apt install ntr
      
    - 三个包可以共存安装,对应命令分别是:nexttrace、nexttrace-tiny、ntr

- Linux / macOS / BSD
  - 一键安装脚本(完整版,默认)
    shell
    curl -sL https://nxtrace.org/nt | bash
    
  - 一键安装脚本(Tiny)
    shell
    curl -sL https://nxtrace.org/nt | bash -s -- --flavor tiny
    
  - 一键安装脚本(NTR)
    shell
    curl -sL https://nxtrace.org/nt | bash -s -- --flavor ntr
    
  - 安装后的命令名:Full nexttrace,Tiny nexttrace-tiny,NTR ntr

  - Arch Linux AUR 安装命令
    - 直接下载bin包(仅支持amd64)
      shell
      yay -S nexttrace-bin
      
    - 从源码构建(仅支持amd64)
      shell
      yay -S nexttrace
      
    - AUR 的构建分别由 ouuan, huyz 维护

  - Linuxbrew 安装命令

    同 macOS Homebrew 安装方法;homebrew-core formula 提供 Full flavor(nexttrace),nxtrace/nexttrace tap 提供三种 flavor。

  - deepin 安装命令

    shell
    apt install nexttrace
    

  - x-cmd 安装命令

    shell
    x env use nexttrace
    

  - Termux 安装命令
    shell
    pkg install root-repo
    pkg install nexttrace
    
  - ImmortalWrt 安装命令
    shell
    opkg install nexttrace
    

- macOS
  - macOS Homebrew 安装命令
    - homebrew-core版
      shell
      brew install nexttrace
      
    - 

Snapshot: 2026-11-04T14:00:00Z · Data license Apache-2.0 · JSON