This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

shed - the sh editor

Don’t run curl | sh again. Use curl | shed to verify scripts before running.


Replace sh with shed in any pipe-sh commands you run. shed will:

  • save the piped script to a temp file
  • open the temp file in $SHED_EDITOR or $EDITOR to let you view and modify the script
  • ask you if you still want to run the script, preserving any changes you made


This is a Python 3 script, so use pip3 to install:

pip3 install shed_sh

Note the spelling: shed_sh is different from shed.

After this, run shed or bashed from your terminal to verify it’s installed properly.


Piping to sh

Take your questionable curl-pipe-sh or wget-pipe-sh command

curl -L | sh
wget -qO- | sh

and use shed to view and edit your script before running it:

curl -L | shed
wget -qO- | shed

Piping to bash

bashed protects your bash shell, too: take this unknown script

wget -q -O - | bash

and verify the contents before running:

wget -q -O - | bashed


Set your preferred editor:

export SHED_EDITOR=vim

shed also checks $EDITOR, then falls back to nano, vim, vi, and emacs in order.


Bug reports, fixes, or features? Feel free to open an issue or pull request any time. You can also tweet me at [@mplewis]( or email me at


Copyright (c) 2014 Matthew Lewis. Licensed under the MIT License.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
shed_sh-1.0.0-py3-none-any.whl (5.8 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Jan 2, 2015
shed_sh-1.0.0.tar.gz (3.7 kB) Copy SHA256 Checksum SHA256 Source Jan 2, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting