I was overdue for an upgrade at my day job and recently received a 16 inch M1 Macbook Pro. If you work at Tech Company as a developer, you get prov...
For further actions, you may consider blocking this person and/or reporting abuse
I'm surprised no one mentioned Homebrew yet :)
brew.sh
Volta is great, I use it on my work windows machine, but for Mac and Linux my preferred is n by tj
github.com/tj/n
Wow wasn’t aware of n.
VSCode would be my 3rd dev tool 🤣
I've used n and nvm, currently back on n, but definitely going to check out Volta!
Interesting, I did not know Volta. Every day I learn something new! Thanks for sharing.
Before I used nvm for Node, rbenv for Ruby, pyenv for Python, etc. I replaced all with asdf asdf-vm.com/. It is clean, consistent and multiplatform.
The first 2 dev tools I installed on my MacBook Pro are: oh-my-zsh and vscode and then I went on with go, iterm2, brew, nvim, and podman. I actually should write and article about what I did in my first day back using a Mac
The per-project switching sounds great. Is it based on the engines field of package.json or some other configurations ?
It is the engines field. docs.volta.sh/guide/understanding#...
That doesn't seem to be the engines field though.
yeah, you are correct on that. Seems like Volta explains that here. github.com/volta-cli/volta/issues/...
Actually I would prefer avoid Volta since it would introduce a private field in package.json which is not used and understandable by the rest of the world.
Weird flex, but ok.
Just imagine a better node version manager in the future. That new node version manager will have to support the Volta field even if it is not Volta.
Yet another weirdness like what we have been facing with :-).
Use asdf or brace yourselves for an nvm/volta/n for every single lang you deal with (nightmare)
will never use nor recommend a lang-specific version manager ever again
Introducing, asdf, one version management tool to rule them all.
Welcome to the future.
fnm > nvm :)
github.com/Schniz/fnm
I am a network engineer that is starting down the DevOps path. This is what I did to get the M1 setup for NE and DevOps:
Apple MacBook Air M1 for Network Engineers Part 1
Also there is asdf It's a nice tool if you work with multiple languages and versions :D
Volta is intriguing, I see in the docs that it recognizes .npmrc files, but will it pick up .nvmrc files for certain legacy needs?
Volta seems cool. Thanks for sharing it