https://issues.dlang.org/show_bug.cgi?id=21059
Bastiaan Veelo <basti...@veelo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |basti...@veelo.net --- Comment #2 from Bastiaan Veelo <basti...@veelo.net> --- Confirmed: $ curl -fsS https://dlang.org/install.sh | bash -s dmd main: line 178: USERPROFILE: unbound variable Workaround: $ wget https://dlang.org/install.sh $ chmod +x install.sh $ ./install.sh $ source ~/dlang/dmd-2.093.0/activate $ dmd --version DMD64 D Compiler v2.093.0 Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved written by Walter Bright So the pipe into bash does not seem to increment $SHLVL. --