This is a backup of replit command when it's not available in the repl we are using. We can just copy it to the repl folder and it should work.
Usually a bash repl contains a
replit.nix file with contents:
{ pkgs }: {
deps = [
pkgs.bashInteractive
];
}
.replit with contents:
run = ["bash", "main.sh"]
entrypoint = "main.sh"
and
To add install-pkg
curl -L https://gist.github.com/CypherpunkSamurai/c8c7499e13dcbe35005760ad9f8e77a5/raw/2b52e90141dcf03d5869e7af80f032ab53224495/install-pkg.sh -o install-pkg
chmod 755 install-pkg
curl -L https://gist.github.com/CypherpunkSamurai/c8c7499e13dcbe35005760ad9f8e77a5/raw/2b52e90141dcf03d5869e7af80f032ab53224495/install-pkg.sh -o install-pkg
chmod 755 install-pkg
./install-pkg