Skip to content

Instantly share code, notes, and snippets.

@xinzhel
Last active July 10, 2023 08:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save xinzhel/e6e60d5aece30703fb10f0b2e555e639 to your computer and use it in GitHub Desktop.
Windows Setup
wget https://repo.anaconda.com/miniconda/Miniconda3-py38_23.3.1-0-Linux-x86_64.sh
bash Miniconda3-py38_23.3.1-0-Linux-x86_64.sh

This will download Python version 3.8. Check links here for more versions.

  • (Optinal; Just for FANCY interface) Install Window Terminal

    • ( for terminal display) Install Powerline for Windows Terminal
      • add the following content into bash profile
           # customize prompt
           GOPATH=$HOME/go
           function _update_ps1() {
                       PS1="$($GOPATH/bin/powerline-go -error $?)"
               }
           if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
                       PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
           fi
           source "$HOME/.cargo/env"
        

    Now, we can have the familiar Bash Shell (on an actual Linux kernel) and VS-Code for happy programming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment