Skip to content

Instantly share code, notes, and snippets.

@pedrocarrico
Created October 30, 2019 16:12
Show Gist options
  • Save pedrocarrico/8c9c891d7521e889ba49a991b160783d to your computer and use it in GitHub Desktop.
Save pedrocarrico/8c9c891d7521e889ba49a991b160783d to your computer and use it in GitHub Desktop.
Install nano on heroku dyno
mkdir /app/nano
curl https://github.com/Ehryk/heroku-nano/raw/master/heroku-nano-2.5.1/nano.tar.gz --location --silent | tar xz -C /app/nano
export PATH=$PATH:/app/nano
@andresespinosapc
Copy link

This seems to be outdated, it doesn't work in Heroku stack 20. The error I'm getting is:
nano: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

@pedrocarrico
Copy link
Author

@andresespinosapc thanks for reporting, I haven't used this method for a long time now, if you happen to find an alternative let me know here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment