setup-node
Skill0 starsChanged 41 days agoMITView on GitHub
Install Homebrew (macOS) and Node.js with npm on macOS, Linux or Windows, so npx, npm install -g and the CLIs that need them work. Use when node, npm or npx is missing or "command not found", or before setup-cloudflare, setup-convex, setup-lumail or setup-dev-browser.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Melvynx/ai-maxxing-skillsword for word, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 1
- Melvynx/ai-maxxing-skills★ 46100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- skills/setup-my-hermes-dashboard/template/AGENTS.mdAGENTS.md
- audit-safetySkill
- cloudflareSkill
- code-debugSkill
- connect-googleSkill
- connect-toolSkill
- connect-vpsSkill
- convexSkill
- create-internal-appSkill
- create-landingSkill
- create-softwareSkill
- dev-browserSkill
- grill-meSkill
- install-skillsSkill
- lumailSkill
- safe-shipSkill
- setup-brainSkill
- setup-cloudflareSkill
- setup-convexSkill
- setup-dev-browserSkill
- setup-githubSkill
- setup-lumailSkill
- dashboardSkill
- setup-my-hermes-dashboardSkill
- setup-stripeSkill
- setup-vpsSkill
- stripe-checkoutSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Check first: if node --version prints v20 or higher and npm --version works, say so and stop.
- Very specific: line 18
If the Mac account is not an admin and the install refuses, skip Homebrew and pass --no-brew to the install scripts of every setup skill.
- Very specific: line 24
Make sure global installs work without admin rights: run npm config get prefix.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Get a working Node.js LTS with npm and npx for the current user. Do it yourself and only ask the user for what needs a human. Talk to them in their language, short messages, no jargon (never say "PATH", "prefix" or "LTS" to them).
If you got this skill from a link instead of a local folder, install nothing else from the repo: download a file it links only when a step needs it, with curl -fsSL https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/setup-node/<path> -o <scratch>/<file> (for example scripts/install-node.sh), and read another skill it names only when you reach it, from https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/<skill-name>/SKILL.md.
- Check first: if
node --versionprints v20 or higher andnpm --versionworks, say so and stop. - Find the OS with
uname -s(Darwinis macOS,Linuxis Linux); if it fails or PowerShell answers, it is Windows. On macOS, make sure Homebrew is there: it is the one way every setup skill installs tools on a Mac, it also installs Apple's developer tools (Git), and it keeps everything up to date. Look for
/opt/homebrew/bin/brew(Apple Silicon) or/usr/local/bin/brew(Intel), even ifbrewis not found. If neither exists, Homebrew needs the user's Mac password once, so you cannot run it yourself: ask them to open the Terminal app (Cmd+Space, type "Terminal"), paste the line below, press Enter, type their Mac password when asked (nothing shows while typing, that is normal), press Enter again when it asks, and say "done" when it finishes (5 to 15 minutes)./bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"If the Mac account is not an admin and the install refuses, skip Homebrew and pass
--no-brewto the install scripts of every setup skill.Install:
- macOS and Linux: run scripts/install-node.sh. On macOS it uses
brew install nodeand writes Homebrew into the shell config so new sessions find it; it exits with code 3 if Homebrew is missing (go back to step 3). On Linux, or with--no-brew, it downloads the official Node LTS into~/.local/nodewith no admin password. - Windows:
winget install --id OpenJS.NodeJS.LTS -e --accept-source-agreements --accept-package-agreements, then ask the user to close and reopen the Claude session.
The current session does not see the new install yet: prefix your next commands with
eval "$(/opt/homebrew/bin/brew shellenv)"(or/usr/local/bin/brewon Intel) on macOS, orexport PATH="$HOME/.local/node/bin:$PATH"with the~/.localinstall.- macOS and Linux: run scripts/install-node.sh. On macOS it uses
- Make sure global installs work without admin rights: run
npm config get prefix. Ifnpm install -gfails withEACCES, runnpm config set prefix ~/.localand make sure~/.local/binis in the shell config. Never usesudo npm. - Prove it:
node --version && npm --version && npx --version, thennpx -y cowsay okprints a cow. Then check a new session finds it too:$SHELL -lic 'node --version'prints the same version; if not, fix the shell config before going on.
Reply with the Node version and where it is installed, in one line.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

