tags: Mac nvm nodemon Personal experience sharing
Mac's nvm installation:
At first, it could not be installed according to the operation of Baidu. I searched the official documentation https://github.com/nvm-sh/nvm;
Follow the instructions inside to install:
1, toinstallationorUpdate Nvm, can be used with cURLInstallation script:
Curl -o-https://raw.[githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh](http://githubusercontent.com/nvm-sh/nvm/v0.34.0/install. Sh) | Celebration
Or Wget:
Wget -qO-https://raw.[githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh](http://githubusercontent.com/nvm-sh/nvm/v0.34.0/install. Sh) | Celebration
The script clones the NVM repository/.nvm and add the source line to your profile (/.bash_profile,/.zshrc,/.profile, or ~/.bashrc).
Then I added the following code in the .bash_profile (search for bash_profile under the visit window). The following code was added (Baidu came out. After the installation was not successful, it was not successfully deleted after the official documentation was installed): source~ /.bashrc
Then! The installation was successful.
Nodemon installation for Mac:
Since the Mac input command is not the same as Windows, you must add sudo before entering the command.
Or type sudo su at the command line;
After the carriage return, you need to enter the password for the mac login; (Enter the password here, you can't see the input and no input; just go inside and lose it. If you lose, press Enter to enter the super administrator mode. Let you re-enter; after the success, the previous paragraph will also become sh-3.2#):
Localhost:~ yefeifei$ sudo su//Enter super administrator mode
Password:
Sorry, try again.//This prompt will pop up after the password is entered incorrectly.
Password:
Sh-3.2#// will become like this after success, it is to enter the super administrator mode
Then enter the super administrator mode and then install according to the installation command:
cnpm install nodemon -g --registry=https://registry.npm.taobao.org
Install NVM Note: I just started using the installation method on GitHub, but because it is foreign, it is slower, the address:https://github.com/creationix/nvm So the final gitee:Gitee Speed Downlo...
1. 2.Installation and use of NVM under Mac OS - Programmer Sought These two are enough (the link of the big brother) Note: Check the version number of your mac. If you have installed it, but when all ...
What is NVM? To put it simply, NVM allows us to install multiple versions of NODE, and you can switch at any time 1. Install NVM Perform the installation command in the terminal The V0.33.8 behind is ...
NVM installation and error I tried to install it in an official way, but they always failed. Finally, I finally successfully installed through a large number of search, and recorded it here. NVM offic...
If nodejs was installed before, you need to uninstall Nodejs first Uninstall command: Install NVM After the execution is successful, if the NVM ls reports an error, execute the following steps At this...
Installationnvm Previously, we first need to ensure that the Node version is not installed on the computer. If the Node version is installed, you can use the following command to uninstall the install...
1, install NVM 2、 At this time, NVM is installed.~/.nvmNext Editor open ~ / .bash_profile vi ./.bash_profile The role of this step in the end of the file is that the NVM will be automatically ad...
Mac installation NVM NVM official website BUG solves NVM common command NVM official website NVM official reference document Install the latest version of NVM BUG solves Report:curl: (7) Failed to con...
*Please make sure that xcode.app is installed on the machine. Install nvm NVM management and use of node 1. Installation 2. Display all Node.js currently installed locally 3. Display all available Nod...
Nvm: Manages the versions of nodejs and npm. Npm can manage third-party plugins for nodejs. nvm installation and use referenceOfficial document Not recommended installation method Use homebrew to inst...