1.0.18 • Published 4 years ago
@kapta/weapon v1.0.18
weapon
Tools for bootstrap your mac 1、use brew to install some useful tools. https://brew.sh/ 2、use volta to manage node versions. https://volta.sh/
Usage
# use brew install volta, then install node and weapon
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ikapta/weapon/main/boot.sh)"
# install apps chrome, lark...
weapon use app
# install terminal tools git oh-my-zsh zsh-plugins ag j...
weapon use misc
# if you want switch node versions, use volta install node
volta install node@16
volta install node@18Find install error info here
cat $HOME/Library/kapta_weapon/error.logOthers
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:
# `/usr/local/lib/node_modules` this always MacOS root path for npm install
chown -R $USER /usr/local/lib/node_modulessometimes you met npm install permission denied. The reason same with above, mixed root and user.Just fix this with command below:
sudo chown -R $USER ~/.npm1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago