cs-icon.svg

Set Up Content Migration Tool (Windows)

The Contentstack Migration Tool is designed to help users seamlessly migrate content from a legacy Content Management System (CMS) to Contentstack. The tool simplifies the migration process by providing an intuitive interface and step-by-step workflow for importing content, mapping content types, and migrating data into a stack within Contentstack. This guide outlines the process for installing the migration tool.

Prerequisites

Before you begin the installation process, ensure that you have the following prerequisites:

  • GitHub account
  • Node.js version 21
  • npm version 10 or above
  • pnpm version 10 or above
  • Exported data from your legacy CMS that you wish to migrate (e.g., a ZIP, JSON, or other supported file type depending on your legacy CMS)

Installing the Migration Tool

Follow the steps below to install the migration tool on your system:

  1. Open a terminal and run the following command to clone the repository and install dependencies:
    git clone  https://github.com/contentstack/migration-v2.git && cd migration-v2 && setup-nvm.bat
  2. If prompted, enter your system password to allow installation of any missing dependencies.Content Migration Tool - Setup Guide (Windows)_1.png
  3. During the setup, select the legacy CMS you are migrating content from.

    Content Migration Tool Setup Guide_2.png

    Warning: Ensure you select the correct legacy CMS to avoid any errors during the migration.

  4. Enter the file path of the exported content you wish to migrate. For example: /Users/<username>/Downloads/<exported_data>.zip.Content Migration Tool - Setup Guide (Windows)_3.png

    Note: The file type may vary depending on your legacy CMS. For example, Sitecore data is exported in ZIP format whereas Contentful data is exported in JSON.

  5. If the installation is successful, a browser window should open automatically with the http://localhost:3000 URL.Content Migration Tool Setup Guide 4.png

This completes the installation of the Contentstack Migration Tool. You’re now ready to begin migrating your content.

Was this article helpful?
^