stow

aspiersGPL-3.0活跃维护

用符号链接把散落在各处的配置文件、软件包目录统一「收纳」到目标位置,方便管理 dotfiles 和本地安装的软件。

GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches

暂无版本1,159star +1 / 7 天58fork同步于 2026-11-10 17:52 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

用符号链接树镜像把分散的配置文件目录映射到主目录的 dotfile 组织工具

用符号链接把散落在各处的配置文件、软件包目录统一「收纳」到目标位置,方便管理 dotfiles 和本地安装的软件。

核心能力

  • 用符号链接树镜像把配置目录映射到目标目录
  • 不保存额外状态,每次运行无需数据库同步
  • 永不删除 Stow 目录内的文件、目录或链接
  • Perl 脚本提供 CLI,后端 Perl 模块执行主要逻辑
  • 支持按软件包独立安装、升级和移除文件

容易踩的坑

README 未给出安装命令,安装步骤需查看 INSTALL.md;运行依赖 Perl 环境

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Build Status Coverage Status

    README for GNU Stow

    This README describes GNU Stow. This is not the definitive documentation for Stow; for that, see the info manual.

    Stow is a dotfile organizer which keeps your configuration files in separate directories, then uses symlink tree mirroring to make them appear installed in your home directory (or any target directory).

    Originally Stow was born to address the need to administer, upgrade, install, and remove files in independent software packages without confusing them with other files sharing the same file system space. For instance, many years ago it used to be common to compile programs such as Perl and Emacs from source and install them in /usr/local. By using Stow, /usr/local/bin could contain symlinks to files within /usr/local/stow/emacs/bin, /usr/local/stow/perl/bin etc., and likewise recursively for any other subdirectories such as .../share, .../man, and so on.

    While this is useful for keeping track of system-wide and per-user installations of software built from source, in more recent times software packages are often managed by more sophisticated package management software such as rpm, dpkg, and Nix / GNU Guix, or language-native package managers such as Ruby's gem, Python's pip, Javascript's npm, and so on.

    Today, Stow is primarily used for managing configuration files (dotfiles) in the user's home directory, especially when coupled with version control systems such as git. However, it can also still be used for managing software package installations as originally intended.

    Stow is implemented as a combination of a Perl script providing a CLI interface, and a backend Perl module which does most of the work.

    You can get the latest information about Stow from the home page:

    http://www.gnu.org/software/stow/
    

    Installation

    See INSTALL.md for installation instructions.

    Documentation

    Documentation for Stow is available online, as is documentation for most GNU software. Once you have Stow installed, you may also find more information about Stow by running info stow or man stow, or by looking at /usr/share/doc/stow/, /usr/local/doc/stow/, or similar directories on your system. A brief summary is available by running stow --help.

    Mailing lists

    Stow has the following mailing lists:

    • help-stow is for general user help and discussion.
    • stow-devel is used to discuss most aspects of Stow, including development and enhancement requests.
    • bug-stow is for bug reports.

    Announcements about Stow are posted to info-stow and also, as with most other GNU software, to info-gnu (archive).

    Security reports that should not be made immediately public can be sent directly to the maintainer. If there is no response to an urgent issue, you can escalate to the general security mailing list for advice.

    The Savannah project also has a mailing lists page.

    Getting involved

    Please see the CONTRIBUTING.md file.

    License

    Stow is free software, licensed under the GNU General Public License, which can be found in the file COPYING.

    Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

    Brief history and authorship

    Stow was inspired by Carnegie Mellon's "Depot" program, but is substantially simpler. Whereas Depot requires database files to keep things in sync, Stow stores no extra state between runs, so there's no danger (as there is in Depot) of mangling directories when file hierarchies don't match the database. Also unlike Depot, Stow will never delete any files, directories, or links that appear in a Stow directory (e.g., /usr/local/stow/emacs), so it's always possible to rebuild the target tree (e.g., /usr/local).

    For a high-level overview of the contributions of the main developers over the years, see the AUTHORS file.

    For a more detailed history, please see the ChangeLog file.