Created
December 25, 2022 10:34
-
-
Save jsun969/3e948ed6c44531ba9fc9da82865d9fdb to your computer and use it in GitHub Desktop.
Enable Clash Proxy in WSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get Host IP | |
cat /etc/resolv.conf | grep -oP '(?<=nameserver\ ).*' | |
# Enable Proxy | |
export http_proxy="http://:7890/" | |
export https_proxy="http://:7890/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment