cli icon indicating copy to clipboard operation
cli copied to clipboard

Install error, contents of /usr/local/bin/fn are "Not Found"

Open Nogbit opened this issue 1 year ago • 3 comments

Running cat /usr/local/bin/fn results in Not Found.

This is after running the installer, which of course errors (with the above output) because it tries to execute fn.

WSL2 Distributor ID: Ubuntu Description: Ubuntu 22.04.5 LTS Release: 22.04 Codename: jammy

Nogbit avatar Oct 15 '24 20:10 Nogbit

Hi, same here seems we can't run this cli on linux? I guess it's because of the last release version. curl -LSs https://raw.githubusercontent.com/fnproject/cli/master/install | sh image

haoviatick avatar Oct 23 '24 05:10 haoviatick

Same issue here. Latest version doesn't have the binaries available for linux versions.

vamshikrishna83 avatar Oct 23 '24 12:10 vamshikrishna83

Copying to /usr/local/bin would need sudo permission. Are you running the command as root? If not, try out.

Otherwise, you can also follow the steps mentioned in: https://fnproject.io/tutorials/install/#DownloadFnCLI

In short, here are the steps:

  • Download fn binary for your OS from https://github.com/fnproject/cli/releases/ using a program like wget
  • Move it to a folder which is already in your PATH, or include the folder in PATH
  • Rename the binary to fn, and update execution permission

samikrc avatar Dec 12 '24 10:12 samikrc