Prerequisites (Engineer Track)
Installing Node.js
macOS
Option 1: Official Installer
- Go to nodejs.org
- Download the LTS version (v20 or later)
- Run the installer
Option 2: Homebrew (Recommended)
Windows
- Go to nodejs.org
- Download the LTS version (v20 or later)
- Run the installer
- Restart your terminal
Linux (Ubuntu/Debian)
1curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
2sudo apt-get install -y nodejs
Linux (Using nvm - Recommended)
1curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
2source ~/.bashrc
3nvm install 20
4nvm use 20
Verify Installation
1node --version
2# Should show v20.x.x or later
3
4npm --version
5# Should show v10.x.x or later
Troubleshooting
"node: command not found"
- macOS/Linux: Add Node to your PATH or restart your terminal
- Windows: Restart your terminal or computer
Version is too old
If you have an older version installed:
1# Using nvm (recommended)
2nvm install 20
3nvm use 20
4
5# Or reinstall from nodejs.org
Permission errors on npm
Don't use sudo with npm. Instead, fix npm permissions:
1mkdir ~/.npm-global
2npm config set prefix '~/.npm-global'
3echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
4source ~/.bashrc
NPM Authentication (Required for Autodesk)
Autodesk blocks anonymous npm access. You must authenticate before running npm install.
Step 1: Connect to VPN
Make sure you are connected to GlobalProtect VPN (the globe icon, not the key icon).
Step 2: Login to JFrog in Browser
-
Navigate to https://npm.autodesk.com/
-
Click the Log in button in the top right corner:

- Click SAML SSO to login with your Autodesk credentials:

Step 3: Authenticate npm in Terminal
Run this command:
1npm login --registry=https://npm.autodesk.com/artifactory/api/npm/autodesk-npm-virtual/ --auth-type=web
A URL will appear in your terminal. Cmd+click (or Ctrl+click) the link to open it in your browser:

Since you're already logged into JFrog from Step 2, the authentication should complete automatically.
Step 4: Verify
1npm whoami --registry=https://npm.autodesk.com/artifactory/api/npm/autodesk-npm-virtual/
You should see your Autodesk username.
Troubleshooting npm auth
Error: Token Generation Prohibited
Complete Steps 1-2 first (login to JFrog in browser), then try Step 3 again.
Error: Invalid auth configuration found
Error: 401 Unauthorized or 403 Forbidden
Your authentication may have expired. Re-run the login command:
1npm login --registry=https://npm.autodesk.com/artifactory/api/npm/autodesk-npm-virtual/ --auth-type=web
Check your existing auth:
You should see entries with _authToken for npm.autodesk.com.
Still stuck?
Ask in #tech-artifactory-build on Slack.