- Install fnm (Fast Node Manager)
winget install Schniz.fnm
- configure fnm environment
fnm env --use-on-cd | Out-String | Invoke-Expression
- download and install Node.js
fnm use --install-if-missing 22
- Verify the right Node.js version is in the environment
node -v
-> should printv22.9.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
if [ "$EUID" -ne 0 ]; then | |
echo "Installing system-wide apps requires sudo privileges. Do you have any?" | |
exit 1 | |
fi | |
# Create a temporary directory | |
temp_dir=$(mktemp -d) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
set -e | |
set -u | |
set -o pipefail | |
# Check if the correct number of arguments is provided | |
if [ "$#" -ne 3 ]; then | |
echo "Usage: $0 <input_folder> <output_folder> <projection>" |
OlderNewer