npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

perry-env-setup

v1.0.0

Published

一键配置前端开发环境的命令行工具

Downloads

3

Readme

perry-env-setup

一键配置前端开发环境的命令行工具,支持安装Node.js、NVM、NRM、Yarn、pnpm、Vue CLI、VSCode、Chrome、Git等常用工具。

功能特点

  • 自动检测操作系统类型
  • 支持Mac、Windows和Linux系统
  • 可选择安装以下工具:
    • Node.js - JavaScript运行环境
    • NVM (Node Version Manager) - Node.js版本管理工具
    • NRM (NPM Registry Manager) - NPM镜像源管理工具
    • Yarn - 快速、可靠、安全的依赖管理工具
    • pnpm - 快速的、节省磁盘空间的包管理工具
    • Vue CLI - Vue.js开发的标准工具
    • Visual Studio Code - 轻量级代码编辑器
    • Google Chrome - 网页浏览器
    • Git - 版本控制系统

安装

# 全局安装
npm install -g perry-env-setup

# 或者使用yarn
yarn global add perry-env-setup

使用方法

交互式安装

perry-env-setup setup

这将启动交互式界面,让您选择要安装的工具。

安装所有工具

perry-env-setup setup --all

安装特定工具

# 安装Node.js
perry-env-setup setup --node

# 安装NVM (Node Version Manager)
perry-env-setup setup --nvm

# 安装NRM (NPM Registry Manager)
perry-env-setup setup --nrm

# 安装Yarn
perry-env-setup setup --yarn

# 安装pnpm
perry-env-setup setup --pnpm

# 安装Vue CLI
perry-env-setup setup --vuecli

# 安装VSCode
perry-env-setup setup --vscode

# 安装Chrome
perry-env-setup setup --chrome

# 安装Git
perry-env-setup setup --git

# 组合安装多个工具
perry-env-setup setup --node --nvm --yarn --vscode

支持的平台

  • Mac OS X:使用Homebrew安装工具
  • Windows:使用Chocolatey安装工具
  • Linux:使用apt/snap安装工具(主要支持Ubuntu/Debian系统)

前提条件

  • Mac:需要安装Homebrew(如果未安装,工具会自动安装)
  • Windows:需要安装Chocolatey(请提前安装)
  • Linux:需要sudo权限

注意事项

  1. 在Windows上使用前,请确保已安装Chocolatey包管理器
  2. 在Linux上使用前,请确保有sudo权限
  3. 安装过程中可能需要输入密码

许可证

ISC