Files
dotfiles/zsh/nodejs.zsh
Jim Myhrberg 2cbd074bac feat(tools): install Node-based CLI tools with mise
Use `mise` to install and manage tools normally installed with `npm`.
2024-05-09 02:23:13 +01:00

18 lines
378 B
Bash
Executable File

#
# Node.js environment setup.
#
# ==============================================================================
# global node packages
# ==============================================================================
install_node_global_packages() {
local npm_packages=(
)
npm install -g "${npm_packages[@]}"
# Ensure yarn and pnpm are enabled.
corepack enable
}