Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
7

Install pm2 on repl.it

orangegrouptech
orangegrouptech

Hello!
I'm trying to install pm2 on my repl to automatically restart it when it crashes. However, I get the error that I need to run it as admin. Tried running as sudo but it said sudo not found. Please help! Thanks.

2 years ago
You are viewing a single comment. View All
1
Highwayman
Highwayman

@orangegrouptech
upm is always “on” and install-pkg or pkg-install or whatever it’s called is just an executable in some /bin dir like /usr/bin/ or something so it is also always present and ready to be run.

2 years ago