Manage a store server.

Commands

pnpm server start

Added in: v1.30.0

Starts a server that does all interactions with the store. Other commands will delegate any store-related tasks to this server.

pnpm server stop

Added in: v1.30.0

Stops the store server.

pnpm server status

Added in: v2.5.0

Prints information about the running server.

Options

--background

Added in: v1.30.0

Runs the server in the background.

--protocol

Added in: v1.30.0

The communication protocol used by the server. When auto is used, ipc used on non-Windows servers and tcp on Windows.

--port

Added in: v1.30.0

The port number to use, when TCP is used for communication. If port is specified and protocol is set to auto, tcp protocol is used.

Other configs that are used by pnpm server: store, lock.

--ignore-stop-requests

Added in: v1.30.0

Disallows stopping the server using pnpm server stop.

--ignore-upload-requests

Added in: v1.31.0

Disallows creating new side effect cache during install.