---
title: "Discussion on \"A Universal Terminal alias for bun, pnpm, npm, and yarn\" | Hashnode"
description: "Discussion on \"A Universal Terminal alias for bun, pnpm, npm, and yarn\". Use zsh functions to create command line alias that determines local package manager and runs the correct command: bun, pnpm, npm, or yarn."
url: "https://hashnode.com/posts/a-universal-terminal-alias-for-bun-pnpm-npm-and-yarn/65145ba77a0d0157bdc7870b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Universal Terminal alias for bun, pnpm, npm, and yarn](https://chantastic.hashnode.dev/a-universal-terminal-alias-for-bun-pnpm-npm-and-yarn?utm_source=hashnode&utm_medium=feed)

Use zsh functions to create command line alias that determines local package manager and runs the correct command: bun, pnpm, npm, or yarn.

Sep 27, 2023 · 2 min read · chantastic.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#reading](https://hashnode.com/tag/reading)
-   [#career](https://hashnode.com/tag/career)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[chantastic](https://hashnode.com/@chantastic)

@chantastic

  
[View profile](https://hashnode.com/@chantastic)

mediocre developer

software explorer

## Responses

Comments are turned off for this post.
