Open DiegoT4l opened 1 month ago
Hi,
My WSL Ubuntu
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
My Deno
deno 2.0.6 (stable, release, x86_64-unknown-linux-gnu)
v8 12.9.202.13-rusty
typescript 5.6.2
I did following to make Deno installation work:
wsl
cd ~
curl -fsSL https://deno.land/install.sh | sh
Error: either unzip or 7z is required to install Deno (see: https://github.com/denoland/deno_install#either-unzip-or-7z-is-required ).
4.1 Installation complained about unzip/7zip missing so installed it
4.2 bash sudo apt-get update sudo apt-get install unzip
curl -fsSL https://deno.land/install.sh | sh
exit
wsl
deno
command should be availableHopefully helps. HTH :)
Version: Deno 2.x.x
When installing Deno 2.0 in a WSL (Windows Subsystem for Linux) environment, the following error appears in the terminal upon opening a new Bash session:
After investigating, I found a problematic line in the ~/.bashrc file that was automatically added during the Deno installation:
The issue is that the line is malformed. It should be separated into two distinct commands:
Steps to reproduce the issue:
curl -fsSL https://deno.land/install.sh | sh
)Expected behavior:
The installation should correctly configure the
~/.bashrc
file without errors, allowing the use of Deno without additional issues.Development environment:
Possible solution:
Update the installation script to ensure the commands are correctly written to the
~/.bashrc
file, avoiding the error.