fnm icon indicating copy to clipboard operation
fnm copied to clipboard

Download failed in Ubuntu 20.04

Open IMPranshu opened this issue 3 years ago • 0 comments

image I am getting the above error while following the installation instruction.

IMPranshu avatar Jul 07 '22 06:07 IMPranshu

can't reproduce

This is for M1 (arm64 docker image):

✡ docker run --rm -it ubuntu
root@15153b914a34:/# (apt-get update && apt-get install -y unzip curl) &> /dev/null
root@15153b914a34:/# curl -fsSL https://fnm.vercel.app/install | bash
Checking dependencies for the installation script...
Checking availability of curl... OK!
Checking availability of unzip... OK!
Downloading https://github.com/Schniz/fnm/releases/latest/download/fnm-arm64.zip...
######################################################################## 100.0%
Installing for Bash. Appending the following to /root/.bashrc:

  # fnm
  export PATH=/root/.fnm:$PATH
  eval "`fnm env`"

In order to apply the changes, open a new terminal or run the following command:

  source /root/.bashrc

This is for linux/amd64 docker image:

✡ docker run --rm -it --platform=linux/amd64 ubuntu
root@1e11e7fb6ba6:/# (apt-get update && apt-get install -y unzip curl) &> /dev/null
root@1e11e7fb6ba6:/# curl -fsSL https://fnm.vercel.app/install | bash
Checking dependencies for the installation script...
Checking availability of curl... OK!
Checking availability of unzip... OK!
Downloading https://github.com/Schniz/fnm/releases/latest/download/fnm-linux.zip...
######################################################################## 100.0%
Installing for Bash. Appending the following to /root/.bashrc:

  # fnm
  export PATH=/root/.fnm:$PATH
  eval "`fnm env`"

In order to apply the changes, open a new terminal or run the following command:

  source /root/.bashrc
root@1e11e7fb6ba6:/# source /root/.bashrc
root@1e11e7fb6ba6:/# fnm --version
fnm 1.31.1

Schniz avatar Aug 16 '22 13:08 Schniz