You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/dev-environment/mac-to-windows.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,19 +5,19 @@ ms.topic: how-to
5
5
ms.subservice: windows-nodejs
6
6
keywords: Mac to Windows, shortcut key mapping, move from Unix to Windows, transition from Mac to Windows, help moving from MacBook to Surface, how to use Windows for a Macintosh user, switching from Macintosh to Windows, help changing dev environments, Mac OS X to Windows, help moving from Mac to PC
7
7
ms.localizationpriority: medium
8
-
ms.date: 09/19/2019
8
+
ms.date: 11/07/2025
9
9
---
10
10
11
11
# Guide for changing your dev environment from Mac to Windows
12
12
13
-
The following tips and control equivalents should help you in your transition between a Mac and Windows (or WSL/Linux) development environment.
13
+
The following tips and control equivalents help you transition between a Mac and Windows (or WSL/Linux) development environment.
14
14
15
-
For app development, the nearest equivalent to Xcode would be [Visual Studio](https://visualstudio.microsoft.com). There is also a version of [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/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](https://code.visualstudio.com/?wt.mc_id=DX_841432) is the most popular choice.
15
+
For app development, the nearest equivalent to Xcode is [Visual Studio](https://visualstudio.microsoft.com). For cross-platform source code editing (and a huge number of plug-ins),[Visual Studio Code](https://code.visualstudio.com/?wt.mc_id=DX_841432) is the most popular choice.
16
16
17
17
## Keyboard shortcuts
18
18
19
19
> [!TIP]
20
-
> You can use[PowerToys Keyboard Manager](../powertoys/keyboard-manager.md) to map Windows shortcuts to the shortcuts you use on a Mac.
20
+
> Use[PowerToys Keyboard Manager](../powertoys/keyboard-manager.md) to map Windows shortcuts to the shortcuts you use on a Mac.
@@ -64,54 +64,54 @@ For app development, the nearest equivalent to Xcode would be [Visual Studio](ht
64
64
65
65
## Command-line shells and terminals
66
66
67
-
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.
67
+
Windows supports several command-line shells and terminals. These tools sometimes work a little differently from the Mac's BASH shell and terminal emulator apps like Terminal and iTerm.
68
68
69
69
### Windows shells
70
70
71
71
Windows has two primary command-line shells:
72
72
73
-
1.**[PowerShell](/powershell/scripting/overview)** - 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](https://github.com/powershell/powershell), and because it is cross-platform, also [available for Mac and Linux](/powershell/scripting/install/installing-powershell).
73
+
1.**[PowerShell](/powershell/scripting/overview)** - PowerShell is a cross-platform task automation and configuration management framework. It consists of a command-line shell and scripting language built on .NET. With PowerShell, administrators, developers, and power-users can quickly control and automate tasks that manage complex processes and various aspects of the environment and operating system. PowerShell is [fully open-source](https://github.com/powershell/powershell), and because it's cross-platform, it's also [available for Mac and Linux](/powershell/scripting/install/installing-powershell).
74
74
75
-
**Mac and Linux BASH shell users**: PowerShell also supports many command-aliases that you are already familiar with. For example:
76
-
- List the contents of the current directory, using: `ls`
75
+
**Mac and Linux BASH shell users**: PowerShell also supports many commandaliases that you're already familiar with. For example:
76
+
- List the contents of the current directory with: `ls`
77
77
- Move files with: `mv`
78
78
- Move to a new directory with: `cd <path>`
79
79
80
-
Some commands and arguments are different in PowerShell vs. BASH. Learn more by entering: [`get-help`](/powershell/scripting/learn/ps101/02-help-system) in PowerShell or checkout the [compatibility aliases](/powershell/scripting/samples/appendix-1---compatibility-aliases) in the docs.
80
+
Some commands and arguments are different in PowerShell versus BASH. Learn more by entering: [`get-help`](/powershell/scripting/learn/ps101/02-help-system) in PowerShell or check out the [compatibility aliases](/powershell/scripting/samples/appendix-1---compatibility-aliases) in the docs.
81
81
82
-
To run PowerShell as an Administrator, enter "PowerShell" in your Windows start menu, then select "Run as Administrator."
82
+
To run PowerShell as an administrator, enter "PowerShell" in your Windows start menu, then select **Run as Administrator**.
83
83
84
-
2.**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.
84
+
1.**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 or older batch files or command-line operations. However, learn and use PowerShell since Cmd is now in maintenance and won't receive any improvements or new features in the future.
85
85
86
86
### Linux shells
87
87
88
-
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](/windows/wsl/install). Linux distributions that can be installed on Windows with WSL include:
88
+
You can now install Windows Subsystem for Linux (WSL) 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 provides the kind of environment most familiar to Mac users. For example, you use**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](/windows/wsl/install). Linux distributions that you can install on Windows with WSL include:
1.[SUSE Linux Enterprise Server 15 SP1](https://www.microsoft.com/store/apps/9PN498VPMF3Z)
95
95
96
96
Just to name a few. Find more in the [WSL install docs](/windows/wsl/install-win10#install-your-linux-distribution-of-choice) and install them directly from the [Microsoft Store](https://aka.ms/wslstore).
97
97
98
-
## Windows Terminals
98
+
## Windows terminals
99
99
100
-
In addition to many 3rd party offerings, Microsoft provides two "terminals" – GUI applications that provide access to command-line shells and applications.
100
+
In addition to many third-party offerings, Microsoft provides two terminals. These terminals are GUI applications that provide access to command-line shells and applications.
101
101
102
102
1.**[Windows Terminal](/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.
103
103
104
-
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).
104
+
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 (for example, SSH, Azure CLI, Git Bash).
105
105
106
-
2.**[Console](/windows/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).
106
+
1.**[Console](/windows/console/)**: On macOS and Linux, users usually start their preferred terminal application, which then creates and connects to the user's default shell (for example, BASH).
107
107
108
108
However, due to a quirk of history, Windows users traditionally start their shell, and Windows automatically starts and connects a GUI Console app.
109
109
110
-
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.
110
+
While you can still launch shells directly and use the legacy Windows Console, it's highly recommended that you instead install and use Windows Terminal to experience the best, fastest, most productive command-line experience.
0 commit comments