Difference between revisions of "Private Server Installation"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
In an empty folder: |
In an empty folder: |
||
<code> |
<code> |
||
− | npm install -g screeps |
+ | npm install -g screeps<br/> |
− | screeps init |
+ | screeps init<br/> |
− | screeps start |
+ | screeps start<br/> |
</code> |
</code> |
||
That will start a server on port 21025 by default. |
That will start a server on port 21025 by default. |
Revision as of 05:37, 2 December 2016
For the most up to date instructions and requirements, visit GitHub[1]
Requirements
- Node.js 6 or higher (https://nodejs.org) (Avoid your distro repo, they are generally outdated, download directly or use nodesource repos instead)
- Python 2 (for node-gyp, Python 3 is not supported [2])
Installation
In an empty folder:
npm install -g screeps
That will start a server on port 21025 by default.
To connect to CLI, in another shell run
screeps init
screeps start
screeps cli