-
Notifications
You must be signed in to change notification settings - Fork 47
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
Looks like only tea can find packages #156
Comments
yes, we basically document this. Magic works above the shell, so
At some point we'll add a post install hook, or someone can make a
|
If you need other tools to find tea provided tooling there's a few ways:
probs there are more. |
Thank you for the quick reply, @mxcl :) I think Tea's slogan "the next generation package manager" threw me off :/ I was already thinking of replacing brew + asdf/nvm for many of the packages I use at least. But not to worry, I found a reasonable solution for the time being on that page I linked. About the changing versions though, calling The only solution I have for now is to use a script to unlink and relink the version I want to use from tea's dir to
I would NOT recommend that. Nobody would expect tea was doing it. And I believe you guys will run into a LOT of issues if you do. What would happen with nologin shells, other users, on each linux distro plus OS X? I said I wanted a solution outside of tea's developer environments but I should have been more specific, I wanted to know how to install a global package using tea. Actually, since I didn't pick were packages should go, I assumed they where global (for my user). Finally, I think I can contribute the initial sh script in a PR if you guys want it. If you do, my suggestion would be to add 2 commands:
|
It wouldn't be next generation if it worked the same.
We certainly would like you to be able to. We're very new so maybe don't have complete feature parity, but we are happy to add things.
Oh ok. You said you didn't want to change the dev-env. Sorry for my confusion. You can open a new temporary shell:
it would be a shell function so nothing but the user typing into the terminal would see it, and the output would be obviously from tea. Maybe you're right that it's a bad idea, like I said, we're only considering it.
Maybe you're right. Maybe I'll get to it one day.
well we control the registry so we would just delete |
I was referring to the "package manager" part 😅 Sorry if that sounded like an attack. I do think tea is next-gen. My point is that we have a reference in regard to what the term "package manager" means and that generates certain expectations. In the case of tea, since no scope was declared (node, rust, etc....) I assumed it was a system package manager, that's all. As it is right now I think a dev env manager would be a better metaphor.
Ohhhh that's very good to hear! I'm in the middle of hustling a new startup, but I'll check back when I have some time and contribute it if it hasn't been done yet by then Thank you for all the support! (btw, feel free to close this) |
I ran into an issue trying to run a yarn task. I got a "node not found" error. Then I went to check on the terminal and got this...
which
andwhereis
cannot find node, but the magic is happening for tea.I have two questions:
How can I automatically add new pantries to my path?See: https://docs.tea.xyz/appendix/faq#i-need-a-tool-in-path-aka-brew-install
How can I change the version I want to use in the command line? (i.e. no dev env)
The text was updated successfully, but these errors were encountered: