How do I install my bot's npm / pip dependencies?
On this page
You don't have to manually manage your bot's packages — the panel installs them for you from your dependency file. This article explains how automatic installs work and how to fetch new packages after you've added them.
How dependency installs work
Dependencies install automatically from your package.json (Node.js) or requirements.txt (Python) when the server first installs and again on start. That means most of the time you don't have to lift a finger — just keep your dependency file up to date and upload it with your code.
Installing packages you added later
If you add a new package to your project after it's already running:
- Update your
package.jsonorrequirements.txtin the Files tab. - Hit Restart to fetch the newly listed packages.
- Alternatively, run the install command yourself —
npm installorpip install— from the Console.
Tip: After changing your dependency file, a quick Restart is usually all it takes to pull in the new packages.
Frequently asked questions
Where do I run npx / node commands? In the server Console. It gives you a command line into your server for one-off tasks.
My package installed but the bot still errors — what now? Read the Console output; it names what's missing or misconfigured. If a package needs a system-level dependency you can't install, open a ticket and we'll help.
More in Frequently asked questions
- Which languages and libraries can I host?
- What do I need to host my bot, and is the panel Pterodactyl-based?
- How do I upload and structure my bot files?
- How do I set which file runs and start the bot?
- Will my bot run 24/7?
- Can I host two bots on one plan?