vscodeHow to beautify the command line? The following article will share with you a beautification command line tool zsh, and introduce the installation method of the zsh tool in vscode. I hope it will be helpful to friends in need!
![How does vscode beautify the command line? zsh tool installation tutorial sharing](https://img.php.cn/upload/article/000/000/024/61a6076cec900493.jpg)
##1. what is zsh???
zsh is a beautifying command line tool-
2 , Install
WSL Windows Terminal
1. WSL (Windows Subsystem for Linux)
Under Windows system Linux Subsystem-
2. Windows Terminal
3. Installation
(1) Open powershell in administrator mode and enter the following command: - Enable-WindowsOptionalFeature -Online - FeatureName Microsoft-Windows-Subsystem-Linux, then the system needs to be restarted and wait.
(2) Go to Microsoft Store to download Ubuntu and Windows terminal-
![1638270654767099.png How does vscode beautify the command line? zsh tool installation tutorial sharing](https://img.php.cn/upload/image/293/755/307/1638270654767099.png)
![163827065737797How does vscode beautify the command line? zsh tool installation tutorial sharing How does vscode beautify the command line? zsh tool installation tutorial sharing](https://img.php.cn/upload/image/550/411/492/163827065737797How%20does%20vscode%20beautify%20the%20command%20line?%20zsh%20tool%20installation%20tutorial%20sharing)
![163827066029657How does vscode beautify the command line? zsh tool installation tutorial sharing How does vscode beautify the command line? zsh tool installation tutorial sharing](https://img.php.cn/upload/image/653/205/496/163827066029657How%20does%20vscode%20beautify%20the%20command%20line?%20zsh%20tool%20installation%20tutorial%20sharing)
##(3) Open Windows terminal and switch to Ubuntu mode to install zsh and oh-my-zsh
![1638270665514190.png How does vscode beautify the command line? zsh tool installation tutorial sharing](https://img.php.cn/upload/image/643/543/658/1638270665514190.png)
Install zsh through commands
Install oh-my-zsh via command
Reminder! It is possible that the download of oh-my-zsh fails. In this case, you can create a .sh file through Windows Terminal, open it through Notepad, and copy the contents of the above link to the created .sh file, and then use sh - c file name, the installation will be successful
![163827067237704How does vscode beautify the command line? zsh tool installation tutorial sharing How does vscode beautify the command line? zsh tool installation tutorial sharing](https://img.php.cn/upload/image/314/552/669/163827067237704How%20does%20vscode%20beautify%20the%20command%20line?%20zsh%20tool%20installation%20tutorial%20sharing)
##3. Effect![1638270675734969.png How does vscode beautify the command line? zsh tool installation tutorial sharing](https://img.php.cn/upload/image/571/175/431/1638270675734969.png)
Installation After success, you can see that there is an additional Ubuntu (WSL) option in the vscode terminal. After selecting the terminal, you can see the effect of oh-my-zsh
![163827068243375How does vscode beautify the command line? zsh tool installation tutorial sharing How does vscode beautify the command line? zsh tool installation tutorial sharing](https://img.php.cn/upload/image/437/247/604/163827068243375How%20does%20vscode%20beautify%20the%20command%20line?%20zsh%20tool%20installation%20tutorial%20sharing)
For more knowledge about VSCode, please visit:
vscode tutorial
! !
The above is the detailed content of How does vscode beautify the command line? zsh tool installation tutorial sharing. For more information, please follow other related articles on the PHP Chinese website!