import{_ as o,c as t,a2 as a,o as n}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"FAQ","description":"","frontmatter":{},"headers":[],"relativePath":"more/faq.md","filePath":"more/faq.md","lastUpdated":1671778129000}'),r={name:"more/faq.md"};function s(i,e,d,l,c,h){return n(),t("div",null,e[0]||(e[0]=[a('
Here are some common questions regarding asdf
.
WSL1 (Windows Subsystem for Linux 1) is not officially supported. Some aspects of asdf
may not work properly. We do not intend to add official support for WSL1.
WSL2 (Windows Subsystem for Linux 2) should work using the setup & dependency instructions for you chosen WSL distro.
Importantly, WSL2 is only expected to work properly when the current working directory is a Unix drive and not a bound Windows drive.
We intend to run out test suite on WSL2 when host runner support is available on GitHub Actions, currently this does not appear to be the case.
I just
npm install -g yarn
, but cannot executeyarn
. What gives?
asdf
uses shims to manage executables. Those installed by plugins have shims automatically created, whereas installing executables via an asdf
managed tool will require you to notify asdf
of the need to create shims. In this instance, to create a shim for Yarn. See the asdf reshim
command docs.
If asdf reshim
is not resolving your issue, then it is most-likely due to the sourcing of asdf.sh
or asdf.fish
not being at the BOTTOM of your Shell config file (.bash_profile
, .zshrc
, config.fish
etc). It needs to be sourced AFTER you have set your $PATH
and AFTER you have sourced your framework (oh-my-zsh etc) if any.