multiAI Summary Pending

nvm-mirror-and-auth

Configure custom Node.js binary mirrors and authentication headers for corporate or restricted network environments. Use when the user asks about NVM_NODEJS_ORG_MIRROR, setting a custom node download mirror, configuring auth headers for private mirrors, or installing Node behind a firewall or corporate proxy.

223 stars

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/nvm-mirror-and-auth/SKILL.md --create-dirs "https://raw.githubusercontent.com/partme-ai/full-stack-skills/main/skills/nvm-skills/nvm-mirror-and-auth/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/nvm-mirror-and-auth/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How nvm-mirror-and-auth Compares

Feature / Agentnvm-mirror-and-authStandard Approach
Platform SupportmultiLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Configure custom Node.js binary mirrors and authentication headers for corporate or restricted network environments. Use when the user asks about NVM_NODEJS_ORG_MIRROR, setting a custom node download mirror, configuring auth headers for private mirrors, or installing Node behind a firewall or corporate proxy.

Which AI agents support this skill?

This skill is compatible with multi.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# nvm Mirror and Authentication

Configure nvm to download Node.js binaries from custom mirrors in restricted network environments.

## Workflow

1. **Set the mirror URL** via environment variable:
   ```bash
   # Use a custom mirror (e.g., Taobao mirror for China)
   export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node

   # Then install as normal
   nvm install 20
   ```

2. **Configure authentication headers** if the mirror requires auth:
   ```bash
   # Set auth header for private mirror access
   export NVM_AUTH_HEADER="Authorization: Bearer <token>"
   nvm install 20
   ```

3. **Validate mirror connectivity:**
   ```bash
   # Test the mirror URL
   curl -I "$NVM_NODEJS_ORG_MIRROR/v20.11.0/"

   # Verify node downloads successfully
   nvm install 20 && node -v
   ```

**Note:** Installation steps are in nvm-install. This skill handles only mirror and auth configuration.

### Example file map

- `examples/mirror.md` - Mirror URL configuration
- `examples/mirror-auth-header.md` - Authentication header setup

## Keywords

node mirror, NVM_NODEJS_ORG_MIRROR, auth header, restricted network, corporate proxy, private mirror