Using virtualenv with fish shell

suggest change

Fish shell is friendlier, yet virtualenv and virtualenvwrapper are awkward there. virtualfish is the fish-native tool. It requires Fish 3.1 or newer.

python -m pip install --user virtualfish
vf install
exec fish
if set -q VIRTUAL_ENV
    echo -n -s (set_color -b blue white) "(" (basename "$VIRTUAL_ENV") ")" (set_color normal) " "
end
funcsave fish_prompt
vf new my_new_env
vf new -p python3 my_new_env

Official links:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents