Skip to main content
Home

Built and signed on GitHub Actions

It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
88%
Published
10 months ago (1.0.6)

Publish

Stow Config

demo.

  1. moves selected config files/directories (aka dotfiles) from 📂 source/ to 📂 target/
  2. creates 🔗 symlinks for them 👆 instead (example: 📂 source/.zshrc @-> 📂 target/.zshrc)
  3. now you can track those dotfiles in 📂 target/ using git

Inspired by GNU Stow

Installation

deno install --global \
    --allow-read --allow-write \
    --allow-env=HOME \
    --name stow \
    jsr:@mcha/stow-config
  • --allow-read --allow-write to move configuration files and create symlinks for them.
  • --allow-env=HOME to allow for paths that start with ~, such as ~/.config.
  • --name stow can be set to something else, like --name stow-configs.

Usage

make sure $HOME/.deno/bin is in $PATH:

stow

stow command prompts. stow command prompts. config dir contains symlinks instead of acutaly files/dirs.

Uninstall

deno uninstall --global stow

assuming it was installed with --name stow

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@mcha/stow-config

Import symbol

import * as stow_config from "@mcha/stow-config";
or

Import directly with a jsr specifier

import * as stow_config from "jsr:@mcha/stow-config";

Add Package

pnpm i jsr:@mcha/stow-config
or (using pnpm 10.8 or older)
pnpm dlx jsr add @mcha/stow-config

Import symbol

import * as stow_config from "@mcha/stow-config";

Add Package

yarn add jsr:@mcha/stow-config
or (using Yarn 4.8 or older)
yarn dlx jsr add @mcha/stow-config

Import symbol

import * as stow_config from "@mcha/stow-config";

Add Package

vlt install jsr:@mcha/stow-config

Import symbol

import * as stow_config from "@mcha/stow-config";

Add Package

npx jsr add @mcha/stow-config

Import symbol

import * as stow_config from "@mcha/stow-config";

Add Package

bunx jsr add @mcha/stow-config

Import symbol

import * as stow_config from "@mcha/stow-config";