#!/bin/sh set -e # Install dotfiles git clone https://gitea.tomastm.com/tomas.mirchev/dotfiles.git $HOME/.dotfiles python3 $HOME/.dotfiles/install.py -e linux-dev # Install NVM export NVM_DIR="$HOME/.nvm" mkdir -p "$NVM_DIR" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash . "$NVM_DIR/nvm.sh" # Preinstall a few nodejs versions nvm install --lts # The first version installed becomes the default nvm install 18 nvm install 20 nvm install 22 # Preinstall all package managers corepack prepare npm --activate corepack prepare yarn --activate corepack prepare pnpm --activate # corepack disable corepack enable npm corepack enable pnpm corepack enable yarn