Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Using asdf-vm or alternatives instead of version specific runtimes #40

Closed
OriR opened this issue May 21, 2019 · 4 comments
Closed

Using asdf-vm or alternatives instead of version specific runtimes #40

OriR opened this issue May 21, 2019 · 4 comments

Comments

@OriR
Copy link

OriR commented May 21, 2019

Hey there! 👋
Stumbled into this by accident through your dotfiles and I love the concept!

However, I work a lot with node and tend to use different versions of node for different repositories - the older the repo, the older the node version it requires.

It would be great if instead of actually installing a specific version here
https://github.com/caarlos0/machine/blob/cc759d87f50102bd698932525bebb2d97924d73c/tasks/node.yml#L3-L6

It could instead, install something like asdf-vm or nvm (specifically for node) and use these to actually install a specific runtime version.

If you don't care about this kind of versioning - nothing changes, since there will always be just the one version defined in your path.
If you do care about this kind of versioning - it would add it as part of the machine setup so you would use that when needed.

@caarlos0
Copy link
Member

hmm, this is actually pretty much outdated... I haven't been using it for a long time...

will update readmes and archive, thanks for pointing it out though, feel free to fork/copy and do what's best for your use case. :)

@OriR
Copy link
Author

OriR commented May 21, 2019

Oh... so how do you set up a new machine nowadays? 🤔

@caarlos0
Copy link
Member

caarlos0 commented May 21, 2019

I only use mac, so I use mostly a brewfile: https://github.com/caarlos0/macos

GitHub
How I setup a new Mac. Contribute to caarlos0/macOS development by creating an account on GitHub.

@caarlos0
Copy link
Member

closing, feel free to contact me elsewhere if you need :) (links on my profile)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants