Difference between revisions of "Private Server Installation"

From Screeps Wiki
Jump to navigation Jump to search
m (changed category display name)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Private Server]]
+
[[Category:Private Server|Installation]]
 
For the most up to date instructions and requirements, visit GitHub[https://github.com/screeps/screeps]
 
For the most up to date instructions and requirements, visit GitHub[https://github.com/screeps/screeps]
   
Line 6: Line 6:
 
* Node.js 6 or higher (https://nodejs.org) (Avoid your distro repo, they are generally outdated, download directly or use nodesource repos instead)
 
* 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 [https://github.com/nodejs/node-gyp/issues/193])
 
* Python 2 (for node-gyp, Python 3 is not supported [https://github.com/nodejs/node-gyp/issues/193])
  +
* Debian will need the 'build-essential' package for compilers and make etc...
   
 
= Installation =
 
= Installation =
Line 11: Line 12:
 
In an empty folder:
 
In an empty folder:
   
<pre><code>
+
<pre>
 
npm install -g screeps
 
npm install -g screeps
 
screeps init
 
screeps init
 
screeps start
 
screeps start
</code></pre>
+
</pre>
 
That will start a server on port 21025 by default.
 
That will start a server on port 21025 by default.
 
To connect to CLI, in another shell run
 
To connect to CLI, in another shell run
  +
<code>screeps cli</code>
+
<pre>screeps cli</pre>

Latest revision as of 20:37, 2 July 2019

For the most up to date instructions and requirements, visit GitHub[1]

Requirements[edit | edit source]

  • 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])
  • Debian will need the 'build-essential' package for compilers and make etc...

Installation[edit | edit source]

In an empty folder:

npm install -g screeps
screeps init
screeps start

That will start a server on port 21025 by default. To connect to CLI, in another shell run

screeps cli