🧰 zsh-pkgmanager-switcher - A ZSH JavaScript package manager switcher plugin

ziggornif

Matthieu Drouian

Posted on October 25, 2023

🧰 zsh-pkgmanager-switcher - A ZSH JavaScript package manager switcher plugin

If you work daily on JavaScript projects with various package manager configurations (npm, yarn, pnpm ...) and you use a ZSH shell (with or without Oh my ZSH), I just released a ZSH plugin to switch the package manager.

This module allows you to automatically load the right package manager by opening your project

The plugin is installed as follows:

git clone <https://github.com/drouian-m/zsh-pkgmanager-switcher> ~/.zsh/zsh-pkgmanager-switcher
Enter fullscreen mode Exit fullscreen mode

Then declare it in your .zshrc file :

source ~/.zsh/zsh-pkgmanager-switcher/zsh-pkgmanager-switcher.zsh
Enter fullscreen mode Exit fullscreen mode

The complete installation documentation is available here : https://github.com/drouian-m/zsh-pkgmanager-switcher/blob/main/INSTALL.md

Demo

asciicast

Project link

https://github.com/drouian-m/zsh-pkgmanager-switcher

💖 💪 🙅 🚩
ziggornif
Matthieu Drouian

Posted on October 25, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related