Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install script instructions #1757

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Update install script instructions #1757

merged 2 commits into from
Jun 20, 2024

Conversation

mattt
Copy link
Member

@mattt mattt commented Jun 20, 2024

Follow up to #1558

Trying this out myself, I noticed that it wasn't being run interactively. To make that work, you need to redirect the source directly into a sh process. Piped execution doesn't support interactivity.

$ curl -fsSL https://cog.run/install.sh | sh
On OS X, it is recommended to install cog using Homebrew instead:
`brew install cog`
Do you want to continue with this installation anyway?

This PR updates to use process substitution syntax. As discussed in fish-shell/fish-shell#5181, fish (my preferred shell) uses a different syntax, so I added special instructions for that. I also removed instructions for fetch, because I think wget and curl cover the vast majority of use cases.

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
See fish-shell/fish-shell#5181

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt
Copy link
Member Author

mattt commented Jun 20, 2024

Also, I'm hard-wired to notice "OS X", so I updated that to "macOS".

@mattt mattt merged commit e5b8c05 into main Jun 20, 2024
13 checks passed
@mattt mattt deleted the mattt/update-install-script branch June 20, 2024 12:38
jessie-young pushed a commit that referenced this pull request Jun 21, 2024
* OS X -> macOS

Signed-off-by: Mattt Zmuda <mattt@replicate.com>

* Update install script instructions to run interactively

See fish-shell/fish-shell#5181

Signed-off-by: Mattt Zmuda <mattt@replicate.com>

---------

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant