Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

nvs-node-version-switchernvs 节点版本切换器

Agent Skill

nvs-node-version-switcher 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,341

周安装

57

GitHub Stars

1

下载量

470
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nvs-node-version-switcher(nvs 节点版本切换器)
来源仓库:https://github.com/zhuzeyu22/nvs-node-version-switcher
安装命令:
openclaw skills install nvs-node-version-switcher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install nvs-node-version-switcher

简介

使用 NVS 工具管理多个 Node.js 版本环境。

  • 适用于切换版本、安装新版本或设置别名等开发需求。
  • 简化前端项目在不同版本间的兼容性测试流程。nvs-node-version-switcher 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 需确保本地具备足够的磁盘空间与网络下载权限。
  • 建议在非生产环境中先行验证版本切换稳定性。

SKILL.md

name
nvs-node-version-switcher
description
Manage Node.js versions using NVS (Node Version Switcher). Use when switching Node.js versions, installing new versions, managing version aliases, or when the user mentions NVS, node version management, or needs to change the active Node.js version in the current environment.

NVS Node.js Version Manager

NVS (Node Version Switcher) is a cross-platform tool for managing multiple Node.js versions. It allows you to easily install, switch between, and manage different Node.js versions and their associated npm packages.

Quick Start

Check if NVS is installed

nvs --version

If NVS is not installed, install it first

Windows (PowerShell or Command Prompt)

# Using winget (Windows 11+)
winget install jasongin.nvs

# Or using chocolatey
choco install nvs

# Manual installation
$env:NVS_HOME="$env:LOCALAPPDATA\
vs"
git clone https://github.com/jasongin/nvs "$env:NVS_HOME"
. "$env:NVS_HOME\
vs.ps1" install

Mac/Linux

export NVS_HOME="$HOME/.nvs"
git clone https://github.com/jasongin/nvs "$NVS_HOME"
. "$NVS_HOME/nvs.sh" install

Basic Commands

Install Node.js versions

# Install latest version
nvs add latest

# Install latest LTS version
nvs add lts

# Install specific version
nvs add 18.20.0

# Install with specific architecture
nvs add 18.20.0/x64

Switch between versions

# Use a version in current shell session
nvs use 18.20.0

# Use LTS version
nvs use lts

# Set default version (permanent)
nvs link 18.20.0

# Remove default link
nvs unlink 18.20.0

List versions

# List locally installed versions
nvs ls

# List available remote versions
nvs ls-remote

# Filter remote versions
nvs ls-remote 18
nvs ls-remote lts

Remove versions

nvs rm 16.20.0

Advanced Features

Automatic version switching

Enable automatic switching based on .node-version or .nvmrc files:

# Enable auto-switching
nvs auto on

# Disable auto-switching
nvs auto off

# Manual trigger for current directory
nvs auto

Version aliases

# Create an alias
nvs alias myproject 18.20.0

# List all aliases
nvs alias

# Remove an alias
nvs alias myproject

Run commands with specific versions

# Run a script with specific Node version
nvs run 18.20.0 app.js

# Execute a command with specific version
nvs exec 18.20.0 npm test

Migrate global packages

# Migrate global npm packages from one version to another
nvs migrate 16.20.0 18.20.0

Remote configuration

# List configured remotes
nvs remote

# Add custom remote (e.g., nightly builds)
nvs remote add nightly https://nodejs.org/download/nightly/

# Use custom remote
nvs add nightly/18

Common Workflows

Project Setup Workflow

  1. Check if project has .node-version or .nvmrc file
  2. If NVS not installed, install it
  3. Install required Node.js version
  4. Enable auto-switching if needed
  5. Verify the correct version is active

Version Upgrade Workflow

  1. Check current version: nvs ls
  2. Install new version: nvs add latest
  3. Test with new version: nvs use latest
  4. Migrate global packages if needed: nvs migrate <old> <new>
  5. Set as default if satisfied: nvs link latest

Troubleshooting

  • If nvs command not found, ensure NVS is properly installed and shell is restarted
  • Check NVS_HOME environment variable points to correct directory
  • Use nvs which <version> to verify version paths
  • For permission issues on Mac/Linux, check NVS installation directory permissions

Environment Variables

  • NVS_HOME: Directory where NVS stores Node.js versions (default: ~/.nvs on Mac/Linux, `%LOCALAPPDATA%\

vs` on Windows)

  • NVS_NODE_HOME: Alternative location for Node.js installations

Integration with VS Code

NVS integrates with Visual Studio Code for debugging with specific Node.js versions. Configure in .vscode/launch.json:

{
  "runtimeArgs": ["18.20.0"],
  "windows": { "runtimeExecutable": "nvs.cmd" },
  "osx": { "runtimeExecutable": "nvs" },
  "linux": { "runtimeExecutable": "nvs" }
}

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.48%
按下载量换算463

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills