Migrate to Containers downloads

This page explains how to download the Migrate to Containers CLI (m2c) tool.

Download m2c

m2c is a command-line tool that you can use to migrate your workloads using a Linux or Windows local machine.

Linux

  • Download the latest version of m2c:

    curl -O "https://m2c-cli-release.storage.googleapis.com/$(curl -s https://m2c-cli-release.storage.googleapis.com/latest)/linux/amd64/m2c" chmod +x ./m2c 

Windows

cmd

To download the latest version of m2c, follow these steps:

  1. Find the latest version of m2c:

    curl -s https://m2c-cli-release.storage.googleapis.com/latest 
  2. Download the latest version of m2c:

    curl -O "https://m2c-cli-release.storage.googleapis.com/VERSION/windows/amd64/m2c.exe" 

    Replace VERSION with the latest version of m2c.

PowerShell

  • Download the latest version of m2c:

    curl.exe -O https://m2c-cli-release.storage.googleapis.com/$(curl.exe -s https://m2c-cli-release.storage.googleapis.com/latest)/windows/amd64/m2c.exe 

For more information about m2c, see the m2c reference for Linux or Windows.