Skip to content

Pnpm setup⚓︎

pnpm is fast, disk space efficient package manager. Read about the motivation behind it here.

Install pnpm⚓︎

# using script
curl -fsSL https://get.pnpm.io/install.sh | sh -

# using npm
npm install -g pnpm

# using asdf
# install asdf plugin
asdf plugin add pnpm

# Set pnpm version in your .tool-versions file (locally or globally)
asdf install

Setup pnpm plugin for zsh⚓︎

Clone omz-plugin-pnpm in omz plugins directory:

git clone https://github.com/ntnyq/omz-plugin-pnpm.git $ZSH/custom/plugins/pnpm

Add pnpm to the plugins array in your .zshrc file:

plugins=(... pnpm ...)

Refer to the following pnpm aliases