macOS
brew install nyanlocal Homebrew formula metadata
安装
brew install nyanlocal Homebrew formula metadata
nix profile install nixpkgs#nyannixpkgs package indexes · pkgs/by-name/ny/nyan/package.nix · 来源: api.github.com
概览
Colorizing cat command with syntax highlighting
历史
nyan is a Go command-line replacement for the narrow use case of running cat on source files while keeping terminal syntax highlighting. Its upstream README describes it as a colorizing cat command, with language selection, line numbers, and selectable themes such as monokai, dracula, pygments, and solarized variants.
The GitHub repository was created on 2019-07-08 by toshimaru. The README explicitly ties the name to Nyan Cat, but the tool's implementation niche is practical rather than novelty: plain file output with optional syntax coloring instead of a pager-first workflow.
nyan started as a small Homebrew-tap style developer utility and the README notes that version 1.2.0 was merged into homebrew-core. The Homebrew formula API reported stable version 1.2.6 and 610 installs over the 365-day analytics window queried on 2026-07-01, which fits a modest but real CLI-tool audience.
Package nerds use nyan where bat is more UI than they want: quick terminal inspection of files with colors, sometimes with --language to force highlighting, --theme to match a terminal theme, --number for line numbers, and --list-themes to preview palettes.
nyan sits in the tiny ecosystem of colorizing cat clones such as ccat and bat. Its significance is mostly packaging shape: a small Go single-command utility that graduated into homebrew-core because it cleanly solves one terminal habit.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nyan | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/toshimaru/nyan
安装元数据
| 软件包键 | brew:nyan |
|---|---|
| 版本 | 1.2.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nyan |
| 主页 | https://github.com/toshimaru/nyan |
| 仓库 | https://github.com/toshimaru/nyan |
| 上游文档 | https://github.com/toshimaru/nyan#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/toshimaru/nyan/archive/refs/tags/v1.2.6.tar.gz |
| 最后更新 | 2026-05-04T06:38:43Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nyan |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nyan
nix profile install nixpkgs#nyan来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.