Prerequisites (Non-Engineer Track)
Goal
Verify that Node.js is installed and npm is authenticated to the Autodesk registry.
Before You Start: NPM Authentication Setup
Before running the prompt, you need to login to JFrog manually. This prevents "Token Generation Prohibited" errors.
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:

Once logged in, you're ready to run the prompt below.
Prompt
Copy and paste this entire prompt into Cursor:
1I need you to check if Node.js is installed on my system, help me install it if needed, and then authenticate npm with the Autodesk registry.
2
3Step 1: Check current installation
4
5Run these commands and tell me the output:
6node --version
7npm --version
8
9Step 2: Evaluate the results
10
11- If both commands show version numbers (e.g., v20.10.0 and 10.2.0), Node.js is installed
12- If the Node.js version is v20 or later, I'm ready to proceed
13- If the version is older than v20, I need to upgrade
14- If the command is not found, I need to install Node.js
15
16Step 3: If installation or upgrade is needed
17
18Based on my operating system, guide me through installing Node.js v20 or later:
19
20- macOS: Use the official installer from nodejs.org or Homebrew (brew install node)
21- Windows: Use the official installer from nodejs.org
22- Linux: Use nvm or the official package manager instructions
23
24Step 4: Verify installation
25
26After installation, run the version check commands again to confirm:
27node --version
28npm --version
29
30Step 5: Check npm authentication status
31
32Run this command to check if I'm already authenticated:
33npm whoami --registry=https://npm.autodesk.com/artifactory/api/npm/autodesk-npm-virtual/
34
35If it shows a username, I'm already authenticated. Skip to success criteria.
36
37If it shows an error (ENEEDAUTH or similar), tell me I need to run the login command manually. Do NOT run the login command yourself. Instead, give me these instructions:
38
39"You need to authenticate manually. Please:
401. Open the terminal in Cursor (View > Terminal or Ctrl+`)
412. Copy and paste this command:
42 npm login --registry=https://npm.autodesk.com/artifactory/api/npm/autodesk-npm-virtual/ --auth-type=web
433. A URL will appear. Cmd+click (Mac) or Ctrl+click (Windows) to open it
444. After the browser shows success, come back and tell me"
45
46Wait for me to confirm I completed the manual login before continuing.
47
48Step 6: Verify authentication
49
50After I confirm, run the whoami command again:
51npm whoami --registry=https://npm.autodesk.com/artifactory/api/npm/autodesk-npm-virtual/
52
53If there's an auth config error, run:
54npm config fix
55
56Success criteria:
57- node --version shows v20.x.x or later
58- npm --version shows v10.x.x or later
59- npm whoami shows my Autodesk username
If You Need to Run npm login Manually
If Cursor tells you to authenticate manually, you'll run the login command yourself in the terminal:
- Open the terminal in Cursor (View > Terminal):

- Paste the command Cursor gives you
- A URL will appear in the terminal. Cmd+click (Mac) or Ctrl+click (Windows) to open it:

- The browser will authenticate you automatically (since you logged into JFrog earlier)
- Once the browser shows success, go back to Cursor and tell it you're done
Expected Outcome
After running this prompt, Cursor will:
- Check your Node.js installation
- Tell you if you need to install or upgrade
- Guide you through the installation process if needed
- Check if you're already authenticated to npm
- If not authenticated, give you instructions to run the login command yourself
- Verify authentication is working after you confirm
Troubleshooting
"Token Generation Prohibited" error?
- Go back to "Before You Start" section and complete Steps 1-2 (login to JFrog in browser first)
- Then try the npm login command again
Cursor can't run terminal commands?
- Make sure you're in a Cursor workspace (not just a single file)
- Try opening the terminal manually (View > Terminal) and running the commands yourself
Installation fails?
- On macOS: Make sure Xcode Command Line Tools are installed (
xcode-select --install)
- On Windows: Run Cursor as Administrator
- On Linux: You may need
sudo for some commands
npm install fails with 401/403 errors?
- Re-run the npm login command from Step 5-6
- Make sure you completed the browser SSO login
- Ask for help in #tech-artifactory-build on Slack