Automic VaultAutomic Vault

brew

使用 Homebrew, apt 安装 ansiweather

查看 ansiweather 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ansiweather

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install ansiweather

Debian stable package indexes · ansiweather · 来源: deb.debian.org

概览

软件包摘要

Weather in your terminal, with ANSI colors and Unicode symbols

命令和别名

  • ansiweather

历史

项目历史与用法

AnsiWeather is a POSIX shell script that displays current weather and forecasts in a terminal using ANSI colors and optional Unicode symbols. It fetches data from the OpenWeatherMap API and formats it with small Unix dependencies such as curl or wget, jq, and bc.

项目历史

The official changelog records AnsiWeather 1.00 as the initial release on 19 October 2013. Early releases added configuration files, automatic location support, wind and forecast display, daylight data, and then removed or tightened automatic behavior as API and portability needs changed.

By 2015, AnsiWeather had moved toward explicit user configuration: OpenWeatherMap API key support was added, automatic location helper behavior was removed, and the default location was changed. Later releases focused on shell portability, HTTPS API calls, delimiter changes, XDG-related configuration behavior, and display options such as UV index and feels-like temperature.

采用历史

The README lists packages for OpenBSD, NetBSD, FreeBSD, Debian, Ubuntu, Homebrew, Haiku, and Gentoo. That package spread reflects a tool that fits neatly into Unix package systems: one script, common dependencies, a man-page-like README, and no daemon.

AnsiWeather is adopted mostly as a terminal utility rather than as a library. Its users are shell prompt tinkerers, status bar authors, and people who want weather output scriptable enough for cron, tmux, screenshots, or login messages.

使用方式

Users run ansiweather with options such as -l for location, -u for unit system, -f or -F for forecast mode, -k for OpenWeatherMap API key, and toggles for colors, symbols, wind, humidity, pressure, daylight, UV index, and feels-like temperature.

The default config file is ~/.ansiweatherrc, and ANSIWEATHERRC can point to another file. Because the OpenWeatherMap API key can be supplied with -k or stored in that configuration file, the same documented path is both a configuration location and a likely credentials location.

为什么软件包爱好者会关心

AnsiWeather is a compact example of the packageable shell-script app: simple source, explicit external commands, readable config, distro package links, and enough API churn handling to show why tiny CLIs still need maintenance.

It also captures a familiar terminal era: colored output, Unicode symbols, curl pipelines, jq parsing, and personal status displays, all before needing a richer TUI or desktop widget.

时间线

  • 2013: AnsiWeather 1.00 initial release.
  • 2015: Config file support, forecast features, daylight data, and OpenWeatherMap API key support appear.
  • 2016: Plain sh portability work and BSD 2-Clause relicensing.
  • 2019: Weather API calls switch to HTTPS.
  • 2020: Config delimiter behavior changes and parsing portability improves.
  • 2021: Feels-like temperature display is added.
  • 2023: AnsiWeather 1.19.0 refines examples, config sample, and locale handling.

Related projects

  • OpenWeatherMap provides the weather API used by AnsiWeather.
  • jq and bc are documented runtime dependencies for JSON parsing and arithmetic.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.ansiweatherrc$ANSIWEATHERRC

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.ansiweatherrc$ANSIWEATHERRC

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ansiweathercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.19.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本1.19.0

https://github.com/fcambus/ansiweather

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:ansiweather
版本1.19.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ansiweather
主页https://github.com/fcambus/ansiweather
仓库https://github.com/fcambus/ansiweather
上游文档https://github.com/fcambus/ansiweather#readme
许可证BSD-2-Clause
源码归档https://github.com/fcambus/ansiweather/archive/refs/tags/1.19.0.tar.gz
macOS 提供的库bc-gh, jq
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameansiweather
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

ansiweather 1.19.0-1

Weather in your terminal, with ANSI colors and Unicode symbols

https://github.com/fcambus/ansiweather

sudo apt install ansiweather
  • Section: utils
  • Architecture: all
  • 3 依赖
  • normalized package name match
  • 匹配方式:Ansiweather
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ansiweather from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

ansiweather 1.19.0-1

Weather in your terminal, with ANSI colors and Unicode symbols

https://github.com/fcambus/ansiweather

sudo apt install ansiweather
  • Section: universe/utils
  • Architecture: all
  • 3 依赖
  • normalized package name match
  • 匹配方式:Ansiweather
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ansiweather from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment