Recently, I got a new MAC, and I had a lot of trouble installing it
Install list
Item2
To download: iterm2.com/
Configuration: www.cnblogs.com/weixuqin/p/…
Item2-zsh
Huang-jerryc.com/2016/08/11/…
Brew:
Installation: the brew. Sh /
If you have problems can try this installation command: www.cnblogs.com/liyihua/p/1…
Home-brew command: blog.csdn.net/qq_41234116…
Xcode installation
Install in App Strore
Git
Git-scm.com/book/zh/v2/…
The git configuration: cloud.tencent.com/developer/a…
Nrm
sudo npm install -g nrm
NRM add Source name Source address
Nvm
www.runoob.com/w3cnote/nvm…
VSCode
code.visualstudio.com/
Plug-in:
- Git History
- GitLens
- Path Intellisense
- Vetur
- .
mongodb
Blog.51cto.com/u_12020737/…
brew tap mongodb/brew
The brew install [email protected]
There will be a similar prompt after installation
If you need to have [email protected] first in your PATH, run: echo ‘export PATH=”/usr/local/opt/[email protected]/bin:$PATH”‘ >> ~/.zshrc
To have launchd start mongodb/brew/[email protected] now and restart at login Brew services start mongodb/brew/[email protected] if you don’t want/need a background service you can just run: mongod –config /usr/local/etc/mongod.conf
Echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Validation:
mongo --version
mongod --version
Start: Brew Services start [email protected]
Pause: Brew Services stop [email protected]
Some of the problems I encountered
You need to enter a password each time you use Git pull/push
Blog.csdn.net/a5252145/ar…
Item2-zsh directory permission problem resolved
[oh-my-zsh] Insecure completion-dependent directories detected:
drwxrwxrwx 7 hans admin 238 2 9 10:13 /usr/local/share/zsh
drwxrwxrwx 6 hans admin 204 10 1 2017 /usr/local/share/zsh/site-functions
www.jianshu.com/p/03bcc3e29…
NVM failure
Re-install NVM and find that the display exists
nvm is already installed in /Users/**/.nvm…..
View the ~/. ZSHRC file. The file contains information about NVM
Vi ~/. ZSHRC source ~/. ZSHRC execution file
If NVM still doesn’t exist in the editor, restart it
The brew error
Solution: segmentfault.com/a/119000004…
cd /usr/local/Homebrew/Library/Taps/homebrew/
rm -rf homebrew-core
Git clone github.com/Homebrew/ho…
Brew install mongodb Error: No available formula with the name ‘mongodb’
www.cnblogs.com/zgaspnet/ar…
Setting: brew tap mongodb/brew
Install: brew install [email protected]
Brew services start mongodb-community
other
Mac development configuration can be viewed at the following address:
Aaaaaashu. Gitbooks. IO/MAC – dev – set…