nvm-install

$npx mdskill add partme-ai/full-stack-skills/nvm-install

Installs and updates nvm via scripts, git, or manual methods for Node.js version management, used when setting up or troubleshooting nvm.

  • Helps users install or upgrade Node Version Manager for managing Node.js versions across different platforms.
  • Integrates with curl, wget, git, and shell profiles like bash, zsh, and fish for installation and configuration.
  • Decides recommendations by detecting the user's platform, shell, and profile to tailor installation steps and scripts.
  • Presents results by providing command-line instructions, verifying profile updates, and confirming installation success.

SKILL.md

.github/skills/nvm-installView on GitHub ↗
---
name: nvm-install
description: "Install and update nvm (Node Version Manager) using curl/wget scripts, git clone, or manual methods. Covers profile selection, NVM_DIR configuration, and Alpine Linux support. Use when the user asks to install nvm, update nvm, set up nvm for the first time, or troubleshoot nvm installation scripts."
license: Complete terms in LICENSE.txt
---

# Install and Update nvm

Install or upgrade nvm from the official source using script, git, or manual methods.

## Workflow

1. **Identify platform and shell** (macOS, Linux, WSL, Alpine; bash/zsh/fish).

2. **Install via curl or wget:**
   ```bash
   # Using curl
   curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

   # Using wget
   wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
   ```

3. **Verify the profile was updated** (the script writes to `~/.bashrc`, `~/.zshrc`, or `~/.profile`):
   ```bash
   # Required lines in your profile:
   export NVM_DIR="$HOME/.nvm"
   [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
   [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
   ```

4. **Verify installation:**
   ```bash
   # Restart terminal, then:
   nvm --version
   ```

5. **Override PROFILE** if the auto-detection picked the wrong file:
   ```bash
   PROFILE=/path/to/custom/profile curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
   ```

**Notes:**
- The install script writes to the detected profile unless PROFILE is explicitly set.
- For restricted networks, use the nvm-mirror-and-auth skill instead.
- Usage, .nvmrc, or troubleshooting belong to other nvm-* skills.

### Example file map

- `examples/installation.md` - Standard installation
- `examples/install-update-script.md` - Updating existing nvm
- `examples/install-additional-notes.md` - Platform-specific notes
- `examples/git-install.md` - Git-based installation
- `examples/manual-install.md` - Manual installation
- `examples/manual-upgrade.md` - Manual upgrade steps
- `examples/alpine-install.md` - Alpine Linux installation

## Keywords

nvm install, install.sh, PROFILE, NVM_DIR, NVM_SOURCE, curl, wget, manual install, update

More from partme-ai/full-stack-skills

SkillDescription
adobe-xd"Guides creation of UI/UX designs, interactive prototypes, reusable components, and design specs in Adobe XD. Use when the user asks about Adobe XD artboards, prototype links, repeat grids, component states, design tokens export, or developer handoff."
angular"Provides comprehensive guidance for Angular framework including components, modules, services, dependency injection, routing, forms, and TypeScript integration. Use when the user asks about Angular, needs to create Angular applications, implement Angular components, or work with Angular features."
ansible"Provides comprehensive guidance for Ansible automation including playbooks, roles, inventory, and module usage. Use when the user asks about Ansible, needs to automate IT tasks, create Ansible playbooks, or manage infrastructure with Ansible."
ant-design-mini"Builds mini-program UIs with Ant Design Mini components for Alipay and WeChat mini-programs. Covers Button, Form, List, Modal, Tabs, NavBar, and 60+ components with theme customization and CSS variable theming. Use when the user needs to create mini-program interfaces with Ant Design Mini, configure themes, or implement mini-program-specific UI patterns."
ant-design-mobile"Builds React mobile UIs with Ant Design Mobile (antd-mobile) components including Button, Form, List, Modal, Picker, Tabs, PullToRefresh, InfiniteScroll, and 50+ mobile-optimized components. Use when the user needs to create mobile-first React interfaces, implement mobile navigation, forms, or data display with Ant Design Mobile."
ant-design-react"Builds enterprise React UIs with Ant Design (antd) including 60+ components (Button, Form, Table, Select, Modal, Message), design tokens, TypeScript support, and ConfigProvider theming. Use when the user needs to create React applications with Ant Design, build forms with validation, display data tables, or customize the Ant Design theme."
ant-design-vueProvides comprehensive guidance for Ant Design Vue (AntDV) component library for Vue 3. Covers installation, usage, API reference, templates, and all component categories. Use when building enterprise-class UI with Vue 3 and Ant Design.
api-doc-generator"Generate API documentation by scanning Controller classes, extracting endpoint URLs, HTTP methods, parameters, and response structures, then producing standardized docs from templates. Use when the user explicitly mentions generating API documentation, creating API docs, scanning interfaces, or documenting REST APIs. Do not trigger for generic documentation requests without explicit API mention."
appium"Provides comprehensive guidance for Appium mobile testing including mobile app automation, element location, gestures, and cross-platform testing. Use when the user asks about Appium, needs to test mobile applications, automate mobile apps, or write Appium test scripts."
ascii-ansi-colorizer"Add an ANSI color layer to existing ASCII/plain-text output (gradient/rainbow/highlights) with alignment-safe rules and a required no-color fallback. Use when the user wants to colorize terminal output, add rainbow effects to CLI text, or style ASCII art with ANSI colors."