Install error, contents of /usr/local/bin/fn are "Not Found"
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
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
Same issue here. Latest version doesn't have the binaries available for linux versions.
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