Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix 安装 wails

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wails

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install wails

MacPorts ports tree · devel/wails/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#wails

nixpkgs package indexes · pkgs/by-name/wa/wails/package.nix · 来源: api.github.com

概览

软件包摘要

Create beautiful applications using Go

命令和别名

  • wails

历史

项目历史与用法

Wails is a Go desktop-application framework that pairs a Go backend with a web frontend while using native platform webview components instead of bundling a Chromium runtime. It is commonly described by the project as a lightweight Electron alternative for Go developers.

项目历史

Creator and maintainer Lea Anthony traced the idea to wanting an HTML, JavaScript, and CSS interface for Restic without making users run a web server in a browser, then discovering the cross-platform WebView library. The early problem Wails set out to solve was the hard synchronization boundary between a native Go backend and a web frontend.

The first public code appeared on GitHub on May 1, 2019 after roughly a year and a half of private development. Wails v1 was announced on December 10, 2019 as the stable-API milestone after nearly two years of work; the v1 post also listed the path toward v2, including replacing WebView as the windowing library, more desktop integration, and a broader refactor.

Wails v2 was released on September 22, 2022 after about 18 months from the first v2 alpha and about a year from the first beta. The v2 release was a major transition: it added modern templates, Vite-powered live development, Windows WebView2 support, native menus and dialogs, TypeScript model generation, packaging improvements, and a runtime aimed at richer desktop applications.

The v3 roadmap, published in January 2023, framed the next major cycle around a more programmatic API, better multi-window support, static-analysis-based bindings generation, and a more transparent build system. As of July 2, 2026, the GitHub repository metadata showed more than 35,000 stars, active development on the master branch, v2 as the stable line, and v3 alpha releases in progress.

采用历史

Wails grew from a Go-community project into one of the best-known Go desktop frameworks. The v1 announcement reported about 1,300 GitHub stars and around 10,000 documentation-site users in late 2019, while the v2 announcement credited roughly 2,200 commits by 89 contributors between the initial alpha and v2 release.

The project positions itself for developers who want native-feeling desktop applications without Electron's bundled-browser footprint. The docs emphasize templates for Svelte, React, Preact, Vue, Lit, and vanilla JavaScript, plus native menus, dialogs, theming, WebView2 on Windows, and platform packaging.

使用方式

A typical Wails project uses the `wails` CLI to create, develop, build, and package an app. Developers write Go methods in the backend, call them from JavaScript, and let Wails generate TypeScript models for Go structs so frontend and backend can share data shapes.

During development, `wails dev` runs a native desktop shell while serving frontend assets from disk and reloading as Go or frontend files change. For release builds, Wails bundles frontend assets into a native executable and can package platform-specific app artifacts.

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

In package terms, Wails is important because it represents the Go ecosystem's native-webview answer to Electron-style desktop development. It turns a Go toolchain plus frontend build into a single distributable desktop app, so packagers and developers often compare it with Electron, Tauri, Fyne, WebView, and Lorca-like approaches.

时间线

  • May 1, 2019: the first public Wails code was released on GitHub, according to Lea Anthony's v1 history post.
  • December 10, 2019: Wails v1 was announced as the stable-API milestone.
  • September 22, 2022: Wails v2 was released after a long alpha and beta cycle.
  • January 17, 2023: the project published the Road to Wails v3, outlining multi-window and build-system changes.
  • July 2, 2026: GitHub API metadata showed the repository still actively maintained with more than 35,000 stars.

Related projects

  • Wails is usually discussed alongside Electron and Tauri because all three let developers build desktop software with web technologies. It also has roots in the WebView project and in the Go ecosystem's desire for desktop apps that do not require shipping a separate browser runtime.

安全态势

风险级别:绿色

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 元数据适用于 6 个平台目标。
  • 安装时包含 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
wails.json

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/wailsapp/wails

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:wails
版本2.13.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/wails
主页https://wails.io
仓库https://github.com/wailsapp/wails
上游文档https://wails.io/docs/introduction
许可证MIT
源码归档https://github.com/wailsapp/wails/archive/refs/tags/v2.13.0.tar.gz
最后更新2026-07-07T05:10:28Z
Pulseupdated
依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

wails

nix profile install nixpkgs#wails
  • normalized package name match
  • 匹配方式:Wails
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wa/wails/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

wails

sudo port install wails
  • normalized package name match
  • 匹配方式:Wails
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/wails/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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