Git Product home page Git Product logo

Comments (12)

smorimoto avatar smorimoto commented on August 15, 2024 2

I wrote this plugin for asdf version manager.
https://github.com/asdf-community/asdf-deno

from deno_install.

TranquilMarmot avatar TranquilMarmot commented on August 15, 2024 2

Literally came here to open an issue to support asdf; I'll try your plugin out!

from deno_install.

smorimoto avatar smorimoto commented on August 15, 2024 2

Ah, this title was a little strange, maybe something like “Add to installation instruction list” was appropriate. If you guys don't mind, I want to add it to the list. Because it might help people who want to manage Deno versions.

from deno_install.

smorimoto avatar smorimoto commented on August 15, 2024 1

image

from deno_install.

smorimoto avatar smorimoto commented on August 15, 2024 1

@TranquilMarmot I don't know if you are interested, but I can recommend this one!

Shims are just tiny wrappers created by asdf that just forward execution to the real versioned executables installed by asdf. This way, asdf has a single shims directory added to your PATH and has no need of mangling the PATH for every installed version. When you run an asdf-managed command, like node, it will actually execute an asdf-shim, which will determine the node version to activate according to your .tool-versions file. A downside of this is that every single time you run node asdf will have to determine again which version to use. Even if you haven't changed your .tool-versions file to upgrade the node version to use. And this happens for every shim execution, which could lead to some users experiencing certain slowness while asdf is looking up versions, since it has to traverse directories looking up for a .tool-versions file and probably also legacy version files.

https://github.com/asdf-community/asdf-direnv

from deno_install.

TranquilMarmot avatar TranquilMarmot commented on August 15, 2024 1

Super interesting! Thanks for the explanation!

from deno_install.

MarkTiedemann avatar MarkTiedemann commented on August 15, 2024

I wrote this plugin for asdf version manager.

The plugin looks great. Thank you!

something like “Add to installation instruction list” was appropriate

Yeah, I think it should be added in 3 places: the readme of this repo, the main page of the deno.land website, and the install section of the manual.

from deno_install.

nayeemrmn avatar nayeemrmn commented on August 15, 2024

I think the set of runtimes that asdf supports is for them to list. It's general purpose (and not as essential as brew). It doesn't make sense to mention in in every project it supports... certainly not in three different places 😄

from deno_install.

smorimoto avatar smorimoto commented on August 15, 2024

Well, I don't have strong will to adding this. but for someone like me who wants to manage all, the existence of these tools can be a big factor in deciding whether to use them.

from deno_install.

smorimoto avatar smorimoto commented on August 15, 2024

and asdf is as popular as anyenv. It's not reasonable to list everything, but I think it's relatively meaningful to add some popular tools early on in the project to lower the psychological barrier for new famiries 😁

from deno_install.

smorimoto avatar smorimoto commented on August 15, 2024

I created a version manager for Deno with Native Reason (OCaml). If you're interested, check it out!
https://github.com/imbsky/dvm

from deno_install.

smorimoto avatar smorimoto commented on August 15, 2024

dvm just creates a symbolic link to a specific version. So it works very fast. Of course, there is also a reason that it's fast because it runs as a native system binary.

from deno_install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.