The installation

Official website installation tutorial: docs.microsoft.com/zh-cn/windo…

Set Windows Terminal: docs.microsoft.com/zh-cn/windo…

configuration

{
    "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}"."hidden": false."name": "Ubuntu"."source": "Windows.Terminal.Wsl"."startingDirectory": "\\\\wsl$\\Ubuntu\\home\\pengwei"."fontFace": "Hack NF"."fontSize": 10."colorScheme": "myscheme",}"schemes": [{"name": "myscheme"."background": "#2A2B24"."black": "#0C0C0C"."blue": "#0037DA"."brightBlack": "# 767676"."brightBlue": "#3B78FF"."brightCyan": "#61D6D6"."brightGreen": "#16C60C"."brightPurple": "#B4009E"."brightRed": "#E74856"."brightWhite": "#F2F2F2"."brightYellow": "#F9F1A5"."cursorColor": "#FFFFFF"."cyan": "#3A96DD"."foreground": "#EEEEEE"."green": "#13A10E"."purple": "# 881798"."red": "#C50F1F"."selectionBackground": "#FFFFFF"."white": "#CCCCCC"."yellow": "#C19C00"}]Copy the code

Install golang

golang.google.cn/doc/install

export GOROOT=/usr/local/go #GOROOT is the location on the system where the Go package is installed.
export GOPATH=/home/pengwei/go #GOPATH is the location of the working directory.
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
Copy the code

You can then create the bin, SRC, and PKG folders under /home/username/go.

Install file manager LF

Github.com/gokcehan/lf…

Error: Dial TCP 172.217.24.17:443: I/O timeout

Solution: Go env -w GOPROXY=https://goproxy.cn

Error: the curl: (7) Failed to connect to port 443 raw.githubusercontent.com: Connection refused

Solutions:

Install zsh:kevinprogramming.com/using-zsh-i…

In general, use apt. If not, use apt-get.

Install, uninstall, multi-version NodeJS and NPM

Blog.csdn.net/qq_36938617…