New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nadm

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nadm

Not A Dotfile Manager - bootstrap jj as a dotfile manager

latest
npmnpm
Version
0.4.1
Version published
Weekly downloads
8
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

nadm

Not A Dotfile Manager — bootstrap jj as a dotfile manager.

nadm turns your home directory into a jj repository with a non-colocated git backend. You selectively track dotfiles with jj dot add, and nadm maintains the .gitignore so jj only sees what you've opted in.

Quick start

Requires jj to be installed.

New setup

npx nadm init
jj dot add ~/.config/nvim
jj dot add ~/.zshrc
jj commit -m "add dotfiles"

Clone existing dotfiles

npx nadm clone https://github.com/you/dotfiles.git
# or
npx nadm clone --github you/dotfiles

Usage

After initialization, nadm adds a jj dot alias with the following subcommands:

CommandDescription
jj dot add <path>...Track a file or directory
jj dot forget <path>...Stop tracking a file or directory
jj dot syncRegenerate .gitignore from the tracked list
jj dot editOpen ~/.nadm/tracked in $EDITOR, then sync

Paths can be absolute or relative. Directories are tracked recursively.

How it works

  • npx nadm init creates a jj repo in ~ with jj git init --no-colocate
  • A ~/.nadm/ directory holds the tracked file list, the dot.sh script, and a config.toml that registers the jj dot alias
  • ~/.gitignore starts by ignoring everything (*), then selectively unignores tracked paths and their parent directories
  • When you jj dot add a path, it's appended to ~/.nadm/tracked and the gitignore is regenerated

Since jj uses a git backend, you can push your dotfiles to any git remote:

jj git remote add origin https://github.com/you/dotfiles.git
jj git push

File layout

After running nadm init, the following is created in your home directory:

~/
  .jj/                   # jj repository (non-colocated git backend)
  .nadm/
    tracked              # plain text list of tracked paths
    dot.sh               # jj dot subcommand implementation
    config.toml          # jj config with the dot alias
  .gitignore             # auto-generated, do not edit directly

License

MIT

Keywords

dotfiles

FAQs

Package last updated on 13 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts