Boot your mac with weapon.
npm install @kapta/weaponTools for bootstrap your mac
1、use brew to install some useful tools.
2、use volta to manage node versions.
``shuse brew install volta, then install node and weapon
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ikapta/weapon/main/boot.sh)"
Find install error info here
`bash
cat $HOME/Library/kapta_weapon/error.log
`Others
if you met
npm install --global permission denied. Bcs this time is root user, if not use sudo will break down.Can fix that with command below:`sh
# /usr/local/lib/node_modules this always MacOS root path for npm install
chown -R $USER /usr/local/lib/node_modules
`sometimes you met
npm install permission denied. The reason same with above, mixed root and user.Just fix this with command below:`sh
sudo chown -R $USER ~/.npm
``