I got error when I install Deno with cli on ubuntu 22.04
curl -fsSL https://deno.land/install.sh | sh
I got error message
warning: Failed to open the file /home/USER/.deno/bin/deno.zip: Permission
Warning: denied
I try to change home root directory ubuntu Owner & permissions
sudo chown -R $USER:$USER ~/.deno
chmod -R u+rwx ~/.deno
trying install with CLI againt, but still got error permission.
I try to change home root directory ubuntu Owner & permissions
trying running with sudo :
sudo -E bash -c 'curl -fsSL https://deno.land/install.sh | sh'