Using `.zshrc` file and Homebrew as a Node.js Version Manager and alternative to nvm

  Рет қаралды 28

Brandon C. Roberts

Brandon C. Roberts

Күн бұрын

Steps to Set Up
Install Node.js Versions via Homebrew:
brew install node@16 node@18 node@20 node@22
Add the following line to your .zshrc file
Node.js version (Change version number after "node@xx" to change your node version)
export PATH="/opt/homebrew/opt/node@20/bin:$PATH"
Switch Node.js Versions: To switch Node.js versions, change the version number in the export PATH line in your .zshrc file. For example, to switch to Node.js 18:
export PATH="/opt/homebrew/opt/node@18/bin:$PATH"
Apply Changes: Source your .zshrc file to apply the changes OR simply open a new terminal window.
source ~/.zshrc

Пікірлер
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 241 М.
How To Install Node and NVM on Mac / macOS (2024)
17:05
ProgrammingKnowledge2
Рет қаралды 17 М.
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 51 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,4 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 129 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 63 МЛН
Unreal Engine 5.5 Metahuman Audio To Facial Animation Tutorial
9:16
Coding a FULL App with AI (You Won't Believe This)
15:19
Creator Magic
Рет қаралды 187 М.
Leetcode 76  Minimum Window Substring
17:44
Leo Liao
Рет қаралды 21
10 Gb/s throughput without using CPU cores? ✅ Check.
13:46
Tomaž Zaman
Рет қаралды 34 М.
Zed “kills” VSCode
12:10
Alex Ziskind
Рет қаралды 859 М.
Modern Projektmetodik: GIT 2
22:26
WILL & SKILL - Digitalbyrå i Stockholm
Рет қаралды 9
We may have killed p10k, so I found the perfect replacement.
19:48
Dreams of Autonomy
Рет қаралды 178 М.
Two Sum II  | LeetCode Array soluion | 10
5:47
sn dev
Рет қаралды 55
Qwen Just Casually Started the Local AI Revolution
16:05
Cole Medin
Рет қаралды 70 М.
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 51 МЛН