Загрузка...

How to install nvm node and npm in the Mac (SD only Video)

You tube uploaded this video only as standard resolution, no idea why. To upgrade it I need to delete and re-upload it. If you so desire, please let me know in the comments section and I will do so. It will have the same title and content, but a new link since that is the only way youtube allows you to re-upload a video.

In this video I walk the viewer through the details of installing nvm, node and npm in the Mac. Step by step instructions are provided in the video and here in the description:
1. Install command line interface for the terminal:
1. Update the Mac OS: video tutorial at: https://youtu.be/evOPILp5RPQ
2. Open Mac Terminal: video tutorial at: https://youtu.be/9lK5p6whROY
3. Install developer tools: video tutorial at: https://youtu.be/fdWKyeMDbnE
2. Then execute all these commands in this order in the terminal.
3. Create a bash profile file:
1. touch ~/.bash_profile
4. Install nvm using:
1. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
downloads and sends to bash, the command interface the script that installs nvm
5. Create environment
1. export NVM_DIR="$HOME/.nvm"
6. This loads nvm
1. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
7. This loads nvm bash_completion
1. [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
8. Now test if everything went correctly by issuing the command:
1. command -v nvm
9. Then install nodejs, the javascript engine in your computer
1. nvm i node
10. Then install the latest version of npm
1. nvm install-latest-npm

Other useful videos:
1. Update the Mac OS: video tutorial at: https://youtu.be/evOPILp5RPQ
2. Open Mac Terminal: video tutorial at: https://youtu.be/9lK5p6whROY
3. Install developer tools: video tutorial at: https://youtu.be/fdWKyeMDbnE
4. Install Visual Studio Code: video tutorial: https://youtu.be/mGwvdqNyDWs),
5. To have the same VSC extensions that I use, watch: https://youtu.be/_Gr96wLBlnk
6. To install nvm, node and npm watch: https://youtu.be/tKk0JXHYmGo
7. For a node, vsc and npm primer watch: https://youtu.be/S0m_pxa1GYw
8. For using dotenv to store secrets in environment variables watch: https://youtu.be/kn9qhxpFW6c
9. Video of how to handle transferring variables through the URL from client to server: https://youtu.be/7Mvc25KGDZk
10. Video for how to handle __dirname is not defined inside the ES module scope: https://youtu.be/kn9qhxpFW6c
11. How to respond to the client serving an html file: https://youtu.be/bhFd76xpIAA
12. How to read the body of a post request using Node modules and Postman: https://youtu.be/0JlSfiN1Yj0 (this video)
13. How to pass secrets / api keys as environmental variables in node using dotenv: https://youtu.be/kn9qhxpFW6c
14. CORS essentials: https://youtu.be/9A4nGqZep1U

Видео How to install nvm node and npm in the Mac (SD only Video) канала Julio Spinelli
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять