# Migrate from v4

First, install the latest Vue CLI globally:

npm install -g @vue/cli
# OR
yarn global add @vue/cli

# Upgrade All Plugins at Once

In your existing projects, run:

vue upgrade

And then follow the command line instructions.

See the following section for detailed breaking changes introduced in each package.


# One-By-One Manual Migration

If you want to migrate manually and gradually, you can run vue upgrade <the-plugin-name> to upgrade a specific Vue CLI plugin.


# Breaking Changes

# For All Packages

  • Drop support of Node.js 8, 11, 13

# The vue Command (The Global @vue/cli Package)

# ESLint Plugin

  • eslint-loader is upgraded from v2 to v4. The only major change is that it dropped support for ESLint < v6.

# TypeScript Plugin

# Dropped TSLint support

As TSLint has been deprecated, we removed all TSLint-related code in this version. Please consider switching to ESLint. You can check out tslint-to-eslint-config for a mostly automatic migration experience.

# E2E-Cypress Plugin

# Unit-Mocha Plugin

# Internal Packages

# @vue/cli-shared-utils