nvm
asdf
Our great sponsors
nvm | asdf | |
---|---|---|
258 | 273 | |
64,263 | 16,645 | |
1.2% | 1.6% | |
8.2 | 8.3 | |
6 days ago | 5 days ago | |
Shell | Shell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nvm
-
Getting Started with Fast-Api 🏎️ and Docker🐳
Node.js and NPM installed on your system (if you want to create a Vue frontend). Nvm is recommended.
-
[I - IOTA Development]: Preparar el entorno
Instalación de Node Version Manager (NVM)
-
Build a Node.js Payment Gateway with Rapyd
Note that for the purpose of this tutorial, I’m using node version 16.13.0 and npm version 8.1.0. You can make use of Node Version Manager (NVM) to manage and use this exact version of node and npm. Follow this guide for a step-by-step tutorial on how to use NVM.
-
An efficient way to build your serverless microservices. Part 1. Local Development.
NodeJS - recommended way to install is nvm
-
How to Install Multiple Node.js Versions On the Same Machine
Check Node Version Manager, such as https://github.com/nvm-sh/nvm
There are multiple issues about this topic https://github.com/nvm-sh/nvm/issues/2724
- Why is the JavaScript ecosystem like this
-
Load Balancing avec HAProxy, Nomad et Consul …
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
-
Flatpaks 🥰
I don't know if you tried it already, but there's nvm for that (or Volta if we're being blazingly fast 🚀🚀🚀)
-
Getting Node to work in VSCode integrated terminal
Install nvm: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
asdf
-
Terraform Version Manangement
We use asdf for managing multiple binary versions. You just add a .tool-versions file with the application and version number in the root directory and just uses that version when you're running tf. https://asdf-vm.com/
-
Show HN: Asdf Clone Written in Rust
I'm on an M1 MacBook Pro 16". The performance issues are well understood by the asdf team and the Github issue with most comments is on the topic: https://github.com/asdf-vm/asdf/issues/290
This was with a half dozen plugins and use_legacy_file disabled. Hardly an edge-case. Though I'll note in other tests it was around 200ms (which is the number I put in the README to be fair). @danfritz in this thread said his can take over 2 seconds!
I think that asdf (https://asdf-vm.com) was a great idea for a project. It helps consolidate installing and running different programming languages into a similar UX. It also is built with a plugin interface that makes it easy to build support for new languages.
However it is so slow. I was just testing `node -v` and it was taking ~900ms. That kind of overhead is completely unusable. My shell prompt uses runtimes inside of it for various things so this effectively makes every command take multiple seconds to complete.
So I rebuilt it in Rust but using the same plugin ecosystem so it should be a drop-in replacement. I also added a couple of features that I wanted from asdf (aliases and fuzzy-matching).
Let me know what you think! Just know that people have only been using this for a few days so if you see any bugs, they're likely not big hairy issues, just overlooked edge-cases and will be fixed soon.
https://github.com/jdxcode/rtx
-
Ask HN: Why does every package+module system become a Rube Goldberg machine?
Not a generic package manager, but it's probably worth calling out asdf as the generic version manager[0] (maybe you're already aware of it, but it's a generic replacement for nvm, rvm, virtualenv, *vm, which supports any language based on plugins.)
Again, maybe you're already aware of it, but I think it's a nice example of genericising a concern common to many languages which sounds similar to what you're asking for (albeit unfortunately in a slightly different space).
-
Rtx: Polyglot Runtime Manager
Not my project but found if while looking into the "asdf" project's performance issues ticket: https://github.com/asdf-vm/asdf/issues/290#issuecomment-1406...
-
Development Containers
My coworker uses this a lot at work. Being by Microsoft that dovetails really well with the visual studio code. I find the CLI to be okay I guess for something written in JavaScript. I prefer ASDF generally[1], there's always a lot of fiddling you have to do with containers, but this is more cross platform so there's that.
- Runtimes JavaScript [pt-br]
-
Apple Unveils MacBook Pro Featuring M2 Pro and M2 Max
What benefit would joining your cult bestow upon me that brew does not already?
My brew list is intentionally very short and my faffing about desire is limited.
Generally I use brew to pull in asdf (https://github.com/asdf-vm/asdf) to install programming languages/tooling, it works flawlessly.
I use Pipx (https://github.com/pypa/pipx) to install python thingies (such as yt-dlp) as a cli. Go and Rust handle binaries in their languages beautifully and without issues.
-
tgenv is dead, long live tgenv!
Not sure of the differences, but I pretty much use asdf for all the version setups I need. There are plugins that support versions for both Terraform and Terragrunt as well.
- Elixir Phoenix - Ubuntu 22 - could not compile dependency :phoenix
What are some alternatives?
pyenv - Simple Python version management
fnm - 🚀 Fast and simple Node.js version manager, built in Rust
SDKMan - The SDKMAN! Command Line Interface
rbenv - Manage your app's Ruby environment
volta - Volta: JS Toolchains as Code. ⚡
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
nvs - Node Version Switcher - A cross-platform tool for switching between versions and forks of Node.js
nvm for Windows - A node.js version management utility for Windows. Ironically written in Go.
corepack - Zero-runtime-dependency package acting as bridge between Node projects and their package managers
jenv - Manage your Java environment