Changing from mac to windows

Guide for changing your dev environment from Mac to Windows

The following tips and control equivalents should help you in your transition between a Mac and Windows (or WSL/Linux) development environment.

For app development, the nearest equivalent to Xcode would be Visual Studio. There is also a version of Visual Studio for Mac, if you ever feel the need to go back. For cross-platform source code editing (and a huge number of plug-ins) Visual Studio Code is the most popular choice.

Keyboard shortcuts

Operation Mac Windows
Copy Command+C Ctrl+C
Cut Command+X Ctrl+X
Paste Command+V Ctrl+V
Undo Command+Z Ctrl+Z
Save Command+S Ctrl+S
Open Command+O Ctrl+O
Lock computer Command+Control+Q WindowsKey+L
Show desktop Command+F3 WindowsKey+D
Open file browser Command+N WindowsKey+E
Minimize windows Command+M WindowsKey+M
Search Command+Space WindowsKey
Close active window Command+W Control+W
Switch current task Command+Tab Alt+Tab
Maximize a window to full screen Control+Command+F WindowsKey+Up
Save screen (Screenshot) Command+Shift+3 WindowsKey+Shift+S
Save window Command+Shift+4 WindowsKey+Shift+S
View item information or properties Command+I Alt+Enter
Select all items Command+A Ctrl+A
Select more than one item in a list (noncontiguous) Command, then click each item Control, then click each item
Type special characters Option+ character key Alt+ character key

Trackpad shortcuts

Note: Some of these shortcuts require a “Precision Trackpad”, such as the trackpad on Surface devices and some other third party laptops.

Operation Mac Windows
Scroll Two finger vertical swipe Two finger vertical swipe
Zoom Two finger pinch in and out Two finger pinch in and out
Swipe back and forward between views Two finger sideways swipe Two finger sideways swipe
Switch virtual workspaces Four fingers sideways swipe Four fingers sideways swipe
Display currently open apps Four fingers upward swipe Three fingers upward swipe
Switch between apps N/A Slow three finger sideways swipe
Go to desktop Spread out four fingers Three finger swipe downwards
Open Cortana / Action center Two finger slide from right Three finger tap
Open extra information Three finger tap N/A
Show launchpad / start an app Pinch with four fingers Tap with four fingers

Note: Trackpad options are configurable on both platforms.

Command-line shells and terminals

Windows supports several command-line shells and terminals which sometimes work a little differently to the Mac’s BASH shell and terminal emulator apps like Terminal and iTerm.

Windows shells

Windows has two primary command-line shells:

PowerShell — PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language built on .NET. Using PowerShell, administrators, developers, and power-users can rapidly control and automate tasks that manage complex processes and various aspects of the environment and operating system upon which it is run. PowerShell is fully open-source, and because it is cross-platform, also available for Mac and Linux.

Mac and Linux BASH shell users: PowerShell also supports many command-aliases that you are already familiar with. For example:

  • List the contents of the current directory, using: ls
  • Move files with: mv
  • Move to a new directory with: cd

Some commands and arguments are different in PowerShell vs. BASH. Learn more by entering: get-help in PowerShell or checkout the compatibility aliases in the docs.

To run PowerShell as an Administrator, enter «PowerShell» in your Windows start menu, then select «Run as Administrator.»

Windows Command Line (Cmd): Windows still ships the traditional Command Prompt (and Console – see below), providing compatibility with current and legacy MS-DOS-compatible commands and batch files. Cmd is useful when running existing/older batch files or command-line operations, but in general, users are recommended to learn and use PowerShell since Cmd is now in maintenance, and will not be receiving any improvements or new features in the future.

Linux shells

Windows Subsystem for Linux (WSL) can now be installed to support running a Linux shell within Windows. This means that you can run bash, with whichever specific Linux distribution you choose, integrated right inside Windows. Using WSL will provide the kind of environment most familiar to Mac users. For example, you will ls to list the files in a current directory, not dir as you would with the traditional Windows Cmd Shell. To learn about installing and using WSL, see the Windows Subsystem for Linux Installation Guide for Windows 10. Linux distributions that can be installed on Windows with WSL include:

Just to name a few. Find more in the WSL install docs and install them directly from the Microsoft Store.

Windows Terminals

In addition to many 3rd party offerings, Microsoft provides two “terminals” – GUI applications that provide access to command-line shells and applications.

Windows Terminal: Windows Terminal is a new, modern, highly configurable command-line terminal application that provides very high performance, low-latency command-line user experience, multiple tabs, split window panes, custom themes and styles, multiple “profiles” for different shells or command-line apps, and considerable opportunities for you to configure and personalize many aspects of your command-line user experience.

You can use Windows Terminal to open tabs connected to PowerShell, WSL shells (like Ubuntu or Debian), the traditional Windows Command Prompt, or any other command-line app (e.g. SSH, Azure CLI, Git Bash).

Console: On Mac and Linux, users usually start their preferred terminal application which then creates and connects to the user’s default shell (e.g. BASH).

However, due to a quirk of history, Windows users traditionally start their shell, and Windows automatically starts and connects a GUI Console app.

While one can still launch shells directly and use the legacy Windows Console, it’s highly recommended that users instead install and use Windows Terminal to experience the best, fastest, most productive command-line experience.

Restart your Mac in macOS or Windows

After installing Microsoft Windows on your Mac, you can choose whether your Mac starts up in macOS or Windows.

How to start up in macOS from Windows

  1. From the notification area on the right side of the Windows taskbar, click to show hidden icons.
  2. Click the Boot Camp icon .
  3. From the menu shown, choose Restart in macOS.
    If you haven’t installed the latest Boot Camp updates, you might get the message ”Could not locate the OS X boot volume.»

Or use Startup Manager as your Mac starts up:

  1. Restart your Mac from the Start menu in Windows.
  2. Press and hold the Option (or Alt) ⌥ key as your Mac begins to restart.
  3. Select your Mac startup volume (Macintosh HD) in the Startup Manager window, then press Return or click the up arrow:

How to start up in Windows from macOS

  • Use Startup Manager to choose your Windows (Boot Camp) volume during startup.
  • Or select your Boot Camp volume in Startup Disk preferences, then restart.

Learn more

  • If you’re having difficulty using VoiceOver or another screen reader to complete these steps, please contact Apple Support.
  • Learn how to install Windows 10 on your Mac.

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the vendor for additional information.

Install Windows 10 on your Mac with Boot Camp Assistant

With Boot Camp, you can install Microsoft Windows 10 on your Mac, then switch between macOS and Windows when restarting your Mac.

What you need to install Windows 10 on Mac

  • MacBook introduced in 2015 or later
  • MacBook Air introduced in 2012 or later
  • MacBook Pro introduced in 2012 or later
  • Mac mini introduced in 2012 or later
  • iMac introduced in 2012 or later 1
  • iMac Pro (all models)
  • Mac Pro introduced in 2013 or later

The latest macOS updates, which can include updates to Boot Camp Assistant. You will use Boot Camp Assistant to install Windows 10.

64GB or more free storage space on your Mac startup disk:

  • Your Mac can have as little as 64GB of free storage space, but at least 128GB of free storage space provides the best experience. Automatic Windows updates require that much space or more.
  • If you have an iMac Pro or Mac Pro with 128GB of memory (RAM) or more, your startup disk needs at least as much free storage space as your Mac has memory. 2

An external USB flash drive with a storage capacity of 16GB or more, unless you’re using a Mac that doesn’t need a flash drive to install Windows.

A 64-bit version of Windows 10 Home or Windows 10 Pro on a disk image (ISO) or other installation media. If installing Windows on your Mac for the first time, this must be a full version of Windows, not an upgrade.

  • If your copy of Windows came on a USB flash drive, or you have a Windows product key and no installation disc, download a Windows 10 disk image from Microsoft.
  • If your copy of Windows came on a DVD, you might need to create a disk image of that DVD.

How to install Windows 10 on Mac

To install Windows, use Boot Camp Assistant, which is included with your Mac.

1. Check your Secure Boot setting

Learn how to check your Secure Boot setting. The default Secure Boot setting is Full Security. If you changed it to No Security, change it back to Full Security before installing Windows. After installing Windows, you can use any Secure Boot setting without affecting your ability to start up from Windows.

2. Use Boot Camp Assistant to create a Windows partition

Open Boot Camp Assistant, which is in the Utilities folder of your Applications folder. Follow the onscreen instructions.

  • If you’re asked to insert a USB drive, plug your USB flash drive into your Mac. Boot Camp Assistant will use it to create a bootable USB drive for Windows installation.
  • When Boot Camp Assistant asks you to set the size of the Windows partition, remember the minimum storage-space requirements in the previous section. Set a partition size that meets your needs, because you can’t change its size later.

3. Format the Windows (BOOTCAMP) partition

When Boot Camp Assistant finishes, your Mac restarts to the Windows installer. If the installer asks where to install Windows, select the BOOTCAMP partition and click Format. In most cases, the installer selects and formats the BOOTCAMP partition automatically.

4. Install Windows

Unplug any external devices that aren’t necessary during installation. Then click Next and follow the onscreen instructions to begin installing Windows.

5. Use the Boot Camp installer in Windows

After Windows installation completes, your Mac starts up in Windows and opens a ”Welcome to the Boot Camp installer” window. Follow the onscreen instructions to install Boot Camp and Windows support software (drivers). You will be asked to restart when done.

  • If the Boot Camp installer never opens, open the Boot Camp installer manually and use it to complete Boot Camp installation.
  • If you have an external display connected to a Thunderbolt 3 port on your Mac, the display will be blank (black, gray, or blue) for up to 2 minutes during installation.

How to switch between Windows and macOS

Restart, then press and hold the Option (or Alt) ⌥ key during startup to switch between Windows and macOS.

Learn more

If you have one of these Intel-based Mac models using OS X El Capitan or later, you don’t need a USB flash drive to install Windows:

  • MacBook introduced in 2015 or later
  • MacBook Air introduced in 2017 or later 3
  • MacBook Pro introduced in 2015 or later 3
  • iMac introduced in 2015 or later
  • iMac Pro (all models)
  • Mac Pro introduced in late 2013 or later

For more information about using Windows on your Mac, open Boot Camp Assistant and click the Open Boot Camp Help button.

1. If you’re using an iMac (Retina 5K, 27-inch, Late 2014) or iMac (27-inch, Late 2013) or iMac (27-inch, Late 2012) with a 3TB hard drive and macOS Mojave or later, learn about an alert you might see during installation.

2. For example, if your Mac has 128GB of memory, its startup disk must have at least 128GB of storage space available for Windows. To see how much memory your Mac has, choose Apple menu  > About This Mac. To see how much storage space is available, click the Storage tab in the same window.

3. These Mac models were offered with 128GB hard drives as an option. Apple recommends 256GB or larger hard drives so that you can create a Boot Camp partition of at least 128GB.

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the vendor for additional information.

Читайте также:  Service windows driver foundation
Оцените статью