jorgebucaran / fisher

A plugin manager for Fish
https://git.io/fisher
MIT License
7.53k stars 257 forks source link

Can't install fisher #701

Closed JiantingFeng closed 2 years ago

JiantingFeng commented 2 years ago

Hi, I have an issue installing fisher. The command curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher doesn't work.

Screen Shot 2022-01-23 at 9 40 31 PM

My fish is the latest version and I'm using Mac OS 12 on MacBook Pro.

madeleinerandall commented 2 years ago

I have the same issue,

source: not enough arguments
(23) Failed writing body
jorgebucaran commented 2 years ago

The git.io URL seems fine. This must be a local issue with your curl. Got a curlrc file? Do you have a custom curl function?

JiantingFeng commented 2 years ago

The git.io URL seems fine. This must be a local issue with your curl. Got a curlrc file? Do you have a custom curl function?

Hi, I solved the problem. Maybe because of the GFW(Great Fire Wall) in China, the short URL you provided in curl -sL https://git.io/fisher | source doesn't work, and I replace the short URL with the original: https://raw.githubusercontent.com/jorgebucaran/fisher/HEAD/functions/fisher.fish, this problem is solved.

Again. thank you for your reply!

khwerhahn commented 2 years ago

I have the same problem. Monterey 12.1. MacBook Pro.

source: not enough arguments
jorgebucaran commented 2 years ago

Are you using the latest Fish?

khwerhahn commented 2 years ago

Trying to install it on a fresh mac.

jorgebucaran commented 2 years ago

You must install Fish first in order to use Fisher.

khwerhahn commented 2 years ago

I have installed fish via brew already.

jorgebucaran commented 2 years ago

What version of Fish?

chefhenri commented 2 years ago

Hi, I'm having the same source: not enough arguments issue. I have Fish 3.3.1 installed and I've tried replacing the short URL with the original one as well.

chefhenri commented 2 years ago

Hi, I'm having the same source: not enough arguments issue. I have Fish 3.3.1 installed and I've tried replacing the short URL with the original one as well.

Never mind, I ran the install command you provided within the Fish shell and it worked!

jorgebucaran commented 2 years ago

Yes. It must be run from Fish.

Preet-Sojitra commented 10 months ago

Hi, I have an issue installing fisher. The command curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher doesn't work. Screen Shot 2022-01-23 at 9 40 31 PM My fish is the latest version and I'm using Mac OS 12 on MacBook Pro.

I am facing same issue in my ubuntu 22.04. I am using fish 3.6.1. Any ways to solve this?

jorgebucaran commented 10 months ago

Up-to-date instructions are listed in the README:

curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher

If that's not functioning properly, there might be an issue with curl. Do you happen to have a .curlrc file?

Preet-Sojitra commented 10 months ago

Up-to-date instructions are listed in the README:

curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher

If that's not functioning properly, there might be an issue with curl. Do you happen to have a .curlrc file?

It seems I don't have a .curlrc file. Can u guide me or share some resources about where to create one and what content to put inside it.

jorgebucaran commented 10 months ago

You don't need a .curlrc file. Download this file somewhere and then run:

source somewhere/to/fisher.fish && fisher install jorgebucaran/fisher

And you're good to go.