Ir al contenido principal

Entradas

Mostrando entradas de diciembre, 2021

Install nvm on macbook m1 for work with node the best way

 On this week I buyed a new macbook pro m1 (thank you BTC for the partner), is a great laptop but is necesary to configure all environment for work with node and is necesary the next: Check the type of the bash Download the file to configure the nvm Check or create file to set environment vars in user folder Check is nvm configure to actual user Download the node Check the type of the bash The macbook pro m1 is configure to zsh bash (under macOS Monterrey) , but is probable to show another bash, for check this is necesary execute the next command line in a terminal echo $SHELL If the exist is /bin/zsh This tutorial is for you, is you not show the text, dont worry, in the official documentation is the step by step to configure all environment for your bash and is here Download the file to configure the nvm For download the file config, open a terminal and execute the next command curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash Check or create file to set