1.0.18 • Published 3 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
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago