1.0.18 • Published 2 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@18
Find install error info here
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:
# `/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:
sudo chown -R $USER ~/.npm
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago