Home > Development Tools > VSCode > How does vscode beautify the command line? zsh tool installation tutorial sharing

How does vscode beautify the command line? zsh tool installation tutorial sharing

青灯夜游
Release: 2021-11-30 19:14:46
forward
4879 people have browsed it

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

##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

How does vscode beautify the command line? zsh tool installation tutorial sharing

How does vscode beautify the command line? zsh tool installation tutorial sharing

How does vscode beautify the command line? zsh tool installation tutorial sharing

##(3) Open Windows terminal and switch to Ubuntu mode to install zsh and oh-my-zsh

How does vscode beautify the command line? zsh tool installation tutorial sharing

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

How does vscode beautify the command line? zsh tool installation tutorial sharing

##3. EffectHow does vscode beautify the command line? zsh tool installation tutorial sharing

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

How does vscode beautify the command line? zsh tool installation tutorial sharing

For more knowledge about VSCode, please visit: How does vscode beautify the command line? zsh tool installation tutorial sharingvscode 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!

Related labels:
source:juejin.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template