chore: make Prettier + fix spelling, update upgrade/switch instructions, prefer ale...
[webi-installers/.git] / prettier / install.sh
1 #!/bin/bash
2
3 if [ -z "$(npm --version 2> /dev/null)" ]; then
4     webi node
5     export PATH="$HOME/.local/opt/node/bin:$PATH"
6 fi
7 npm install -g prettier@latest