Skip to content

Announcement: Dropping support for Node.js 18 and 20 #3603

Description

@WillieRuemmele

Node.js 18 reached End-of-Life in September 2025 and Node.js 20 reached End-of-Life in April 2026. Starting with an upcoming release, Salesforce CLI will require Node.js >= 22.

What's changing

Who is affected

Users running Salesforce CLI on Node.js 18 or 20, whether installed via npm or running plugins that depend on @salesforce/core.

Alternatives

If you cannot upgrade to Node.js 22 or 24 immediately:

  • Pin to your current CLI version: npm install -g @salesforce/cli@2.141.6 (last version before the engines bump)
  • Use an older tarball: Download from the CLI releases page — tarballs prior to this change bundle Node 22 and will continue to function
  • Use nvm or fnm to manage multiple Node versions and switch to 22+ for CLI usage

Recommended action

Upgrade to Node.js 24 (Current LTS) or Node.js 22 (Maintenance LTS until April 2027):

# Using nvm
nvm install 24
nvm use 24

# Using fnm
fnm install 24
fnm use 24

Timeline

  • Node 18 EOL: September 2025
  • Node 20 EOL: April 2026
  • Node 22 Maintenance LTS: until April 2027
  • Node 24 Active LTS: until April 2028

See Node.js release schedule for details.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions