tip
Volta is a JavaScript Tool Manager. Install and run any JS tool quickly and seamlessly! Volta is built in Rust and ships as a snappy static binary.
1. install
curl https://get.volta.sh | bash
- 或者使用brew:
brew install volta
- 如果不能全局使用,可以手动设置:
- Set the VOLTA_HOME variable to $HOME/.volta
- Add $VOLTA_HOME/bin to the beginning of your PATH variable