Install Prerequisites
This page covers the software required for Claude Code: Node.js and Git.
Install Node.js
Section titled “Install Node.js”We recommend the latest LTS (Long-Term Support) release. ApexOne requires Node.js 22.x or later.
- Visit nodejs.org.
- Download the latest LTS installer.
- Run the downloaded
.msifile and follow the installation wizard. - Restart your terminal before continuing.
Recommended: NVM — NVM lets you manage multiple Node.js versions and switch between them per project.
# Install NVMcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash
# Reload your shell configurationsource ~/.zshrc
# Install the latest LTS releasenvm install --lts
# Set it as the default versionnvm alias default 'lts/*'
# Use it nownvm use --ltsAlternative: Homebrew
brew install nodeRecommended: NVM
# Install NVMcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash
# Reload your shell configurationsource ~/.bashrc
# Install and use the latest LTS releasenvm install --ltsnvm alias default 'lts/*'nvm use --ltsAlternative: package manager
# Ubuntu / Debiansudo apt update && sudo apt install -y nodejs npm
# Fedora / RHEL / CentOSsudo dnf install -y nodejsVerify Node.js
Section titled “Verify Node.js”Open a terminal and run:
node --versionnpm --versionExample output:
v22.14.010.9.2If both commands return version numbers, Node.js has been installed successfully.
Install Git
Section titled “Install Git”Git is a distributed version control system used by Claude Code and most modern development workflows.
- Visit git-scm.com/download/win.
- Download and run the latest installer.
- During setup, we recommend:
- Git from the command line and also from 3rd-party software
- Use Windows’ default console window
- Complete the installation using the default settings.
Option 1 — Homebrew
brew install gitOption 2 — Xcode Command Line Tools
xcode-select --installOption 3 — Official installer: download from git-scm.com/download/mac.
# Ubuntu / Debiansudo apt update && sudo apt install -y git
# Fedora / RHEL / CentOSsudo dnf install -y gitVerify Git
Section titled “Verify Git”git --versionExample output:
git version 2.43.0If a version number is displayed, Git has been installed successfully.
Configure Git
Section titled “Configure Git”After installation, configure your Git identity:
git config --global user.name "Your Name"git config --global user.email "you@example.com"To verify your configuration:
git config --listTroubleshooting
Section titled “Troubleshooting”npm command not found
-
Windows — verify that the Node.js installation directory has been added to your system
PATH. -
macOS / Linux — restart your terminal or reload your shell configuration:
Terminal window source ~/.zshrc # or ~/.bashrc
Git displays incorrect characters
If Git shows non-English filenames incorrectly:
git config --global core.quotepath falseNext steps
Section titled “Next steps”Once Node.js and Git are installed, continue to an integration guide: