Brew nvm9/11/2023 In other words: once you setup a project, Volta gets tooling out of your way and you don’t have to think about it anymore. Others can use volta setup without ever having to lookup what version of node the project needs. You can also specify your tooling within your package.json : "volta": Other developers Better yet: Volta ensures even global dependencies respect the requirements of your package.įor example, installing the Typescript package: npm install -global typescriptĭepending on the project you’re in, this executable will switch to the project’s chosen version of TypeScript: cd /path/to/project-using-typescript-3.9.4 tsc -version # 3.9.4 cd /path/to/project-using-typescript-4.1.5 tsc -version # 4.1.5 This feels like a lifesaver if you’re running Apple silicon / m1 chip on a new Macbook. Rather than changing your node version system-wide, Volta simply shims the tools you need for each project directory.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |