Run a checkout with pinned tools
Open Projects, import the checkout by its full directory path, and read the preview. Portstack loads portstack.toml if present. For a new profile it checks for Node package scripts, PHP entry points or Composer metadata, and Python project files. Review the generated command and the folder it serves. Start runs commands from that checkout under your Windows account.
.\portstack.exe project import 'G:\work\shop'
.\portstack.exe project list
.\portstack.exe project preview shop
.\portstack.exe project terminal shop
In the project terminal, install the checkout’s dependencies using its usual workflow. For example, use npm ci for a Node project with a committed npm lockfile. The project terminal puts that checkout’s pinned runtime directories first on PATH.
Example Vite profile
This example assumes a dev script that runs Vite, a PostgreSQL dependency and three free ports. Choose an exact Node version supported by the checkout.
schema = 1
name = "shop"
document_root = "."
http_port = 18110
https_port = 18111
web = "frontend"
services = ["postgres"]
[runtimes]
node = "26.13.1"
[[processes]]
name = "frontend"
command = ["npm", "run", "dev", "--", "--host", "127.0.0.1", "--port", "{port}", "--strictPort"]
port = 18112
Choose Start project, then open the URL in the preview. For this profile nginx listens at http://shop.localhost:18110 and forwards requests and WebSockets to Vite on loopback. A static site only needs a document root and gateway ports. Each pin for Node, PHP or Python installs side by side with the workspace’s active version. The available historical versions depend on upstream archives and checksums.
Commit portstack.toml with the checkout so another copy can use the same command, ports and pins. Use project status shop and project log shop to inspect a running site. project stop shop stops the gateway and project processes. Shared databases keep running for other projects.
For local HTTPS, stop the project, enable HTTPS and explicitly trust its hostname-specific certificate on this PC before restarting. Keep checkouts below the portable root if they should travel with the drive.