You have 2 free member-only stories left this month.

A New Simple Package Manager for Script Languages

A painless tool to manage installation and uninstallation

Shinichi Okada
Jun 17 · 4 min read
Image by Author.

Introduction

Installing Awesome package manager

curl -s https://raw.githubusercontent.com/shinokada/awesome/main/install | bash -s install
wget -qO - https://raw.githubusercontent.com/shinokada/awesome/main/install | bash -s install
echo 'export PATH=$HOME/bin:$PATH' >> ~/.zshrc
export PATH=$HOME/bin:$PATH

Installing a package

awesome install shinokada/manop.git
manop grep -v
-v, --invert-match
Invert the sense of matching, to select non-matching lines.
# Using URL
awesome install https://github.com/shinokada/cleanit
# or using HTTPS
awesome install https://github.com/shinokada/abi.git
awesome install raylee/tldr-sh-client tldr
awesome install alexanderepstein/Bash-Snippets cheat/cheat

Removing a package

awesome rm cleanit

List packages

awesome ls

Update a package

awesome update gistart

Alias

awesome install shinokdaa/backpack_install
awesome alias bi backpack_install backpack_install

Multiple scripts

awesome install shinokada/script-examples php-example.php
awesome alias ne script-examples node-example.js
awesome alias re script-examples ruby-example.rb

Git add, commit, push, and update

awesome push "your commit message"

Uninstalling Awesome

curl -s https://raw.githubusercontent.com/shinokada/awesome/main/install > tmp1 && bash tmp1 uninstall && rm tmp1
wget -qO - https://raw.githubusercontent.com/shinokada/awesome/main/install > tmp1 && bash tmp1 uninstall && rm tmp1

Some scripts you can install using Awesome

Limitations

How to create a script with other languages

#!/usr/bin/env node
#!/usr/bin/env perl
#!/usr/bin/env php
#!/usr/bin/env python3
#!/usr/bin/env ruby

Conclusion

.

mkdir Awesome

A Medium publication. A showcase of App/tools and programming tips.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Start a blog