Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Is there a package system (think npm, cpan, etc.) for shell scripts? Specifically, on Ubuntu?

share|improve this question

3 Answers 3

To my knowledge there is no such package / sharing tools for shell scripts... In my opinion, because there is not just one scripting language (you were probably thinking of bash, but other shells exist), and also because the task a shell script has to accomplish is often very specific.

Actually, you can think of the set of gnu tools (sed, awk, grep, etc...) as a set of basic (or more complex) tools, which are distributed as deb packages...

Nevertheless, you can find some examples on the net, like the list on this blog post...

share|improve this answer

Yes, there is one package manager. Jean - Missing Package Manager for Linux.

Here is the project homepage:

share|improve this answer can be installed with:

curl -Lo- | bash

and lets you install packages like:

bpkg install term -g

Packages are just Git repositories with a package.json at top-level.

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – guntbert Oct 12 at 19:59
@guntbert I agree, but what else is there to say :-) – Ciro Santilli 六四事件 法轮功 包卓轩 Oct 12 at 20:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.