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

'cargo install nushell' can't find nushell in registry 'cargo-io' #12880

Closed
yurivict opened this issue May 16, 2024 · 3 comments
Closed

'cargo install nushell' can't find nushell in registry 'cargo-io' #12880

yurivict opened this issue May 16, 2024 · 3 comments

Comments

@yurivict
Copy link
Contributor

Describe the bug

n/a

How to reproduce

cargo install nushell

Expected behavior

n/a

Screenshots

No response

Configuration

n/a

Additional context

n/a

@yurivict yurivict added the needs-triage An issue that hasn't had any proper look label May 16, 2024
@fdncred
Copy link
Collaborator

fdncred commented May 16, 2024

I believe only the crates to build nushell are available on crates.io. You could search crates.io and see what's there. We don't list cargo as a way to install nushell either https://github.com/nushell/nushell?tab=readme-ov-file#installation

@yurivict
Copy link
Contributor Author

cargo install ... is just a very convenient way to install a package.
It requires the least amount of steps out of all other ways to do it on a system that only has Rust installed.

@fdncred fdncred removed the needs-triage An issue that hasn't had any proper look label May 16, 2024
@fdncred
Copy link
Collaborator

fdncred commented May 16, 2024

You might try cargo binstall to install binaries. I know some people use this. Once it's installed you can do cargo binstall nu and it fetches pre-compiled binaries from github.

But cargo install nushell will not work, as you've seen. You could try cargo install nu if you want to build nushell but cargo binstall is faster. Also, you won't get the plugins, they'll have to be installed separately. If you're wanting the fastest way, it's probably just to download the pre-compiled binaries or the nightlies we provide since they do not require compilation.

@fdncred fdncred closed this as completed May 16, 2024
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

No branches or pull requests

2 participants