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!
##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-
##(3) Open Windows terminal and switch to Ubuntu mode to install zsh and oh-my-zsh
Install zsh through commands
install zsh
exec zsh 切换到zsh复制代码
Copy after login
Install oh-my-zsh via command
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"复制代码
Copy after login
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
##3. Effect
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
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!