Square CloudSquare Cloud

TypeScript with no build step

Run your .ts directly with tsx, no build to configure: tRPC, NestJS, Hono and Prisma on Node.js 26, with the package.json dependencies installed on the server.

From ZIP to running process

The same path on every deploy, from the dashboard, the CLI or GitHub.

1

Detects the language

RUNTIME, or the extension of MAIN (.ts), picks TypeScript.

2

Installs the dependencies

package.json is read and the dependencies are installed on the server, before the app starts.

3

Isolates the container

The CPU and RAM of MEMORY are guaranteed by the kernel, and the process runs without root.

4

Starts the process

Without START, the default command runs. With START, yours runs exactly as written.

The squarecloud.app of a TypeScript app

A KEY=VALUE file at the root of the project, or generated by the dashboard at deploy. This one publishes a site or API; without SUBDOMAIN, the app runs as a background process.

squarecloud.app
  1. 1MAIN=index.ts
  2. 2MEMORY=512
  3. 3VERSION=recommended
  4. 4DISPLAY_NAME=my-api
  5. 5SUBDOMAIN=my-api
  6. 6AUTORESTART=true
Versions
26
Default command
npx tsx index.ts
Dependencies
package.json
Accepted files
.ts.tsx.mts.cts.mtsx.ctsx
RUNTIME= values
typescript
Also in the image
Python 3.14ffmpegChromium

What comes ready

The environment already knows your language: you upload the code and it runs.

.ts files run directly

No dist/ folder, no tsc --build, and no multi-stage Docker: your entry point is the .ts file itself.

tsx installed automatically

tsx, the esbuild-based TypeScript runner, is available from your app's very first start.

TSX, ESM, and CommonJS

Accepts .ts, .tsx, .mts, and .cts with no extra build configuration.

Everything Node.js has

V8 heap tuning, automatic dependency install, .env loading, and the whole npm ecosystem.

What you can host

Projects that run on this runtime.

Typed APIs with tRPC and NestJS

End-to-end types shared between client and server, with automatic inference.

Typed Discord bots

Bots with discord.js, Sapphire, or Discordeno, with autocomplete and type errors caught right in your editor.

Backends with Prisma and Drizzle

ORMs with types inferred from your schema, for typed queries from the database to the API response.

Microservices with Hono and Fastify

Lightweight, typed APIs with simple routing and built-in input validation.

Automation scripts and CLIs

Scheduled tasks and automations in TypeScript, running the .ts file directly with no build step.

Telegram bots with grammY

A modern, typed framework for Telegram bots, with extensible middleware.

Combine with other services

Everything in the same dashboard, on the same infrastructure and the same invoice.

A plan for every stage of your project

From your first deploy to 1 TB of RAM, without switching platforms. Each phase adds memory and features to the one before, and upgrades apply instantly.

Compare all plans
1 GB → 2 GB

Hobby

Take the idea off localhost and put it online.

  • Up to 2 vCPU
  • Real-time metrics
  • Blob Storage
  • One-click rollback
  • Square Shield anti-DDoS
  • Cubic AI agent

FromR$12.49/mo

4 GB → 8 GB

Standard

Recommended

Production with databases, your own domain and a team.

  • Up to 4 vCPU
  • Databases
  • Custom domain
  • Load balancer
  • AI Gateway
  • Workspaces

FromR$44.99/mo

12 GB → 24 GB

Pro

More memory, daily snapshots and visibility into what runs.

  • Up to 12 vCPU
  • Daily application snapshots
  • Performance analytics
  • Cubic Pro and routines
  • Priority support

FromR$124.99/mo

32 GB → 1 TB

Enterprise

Large operations, with a private Discord channel.

  • Up to 16 vCPU
  • Private Discord channel

FromR$299.90/mo

HobbyStandardProEnterprise
Compute
RAM1 GB → 2 GB4 GB → 8 GB12 GB → 24 GB32 GB → 1 TB
vCPU1 → 246 → 1216
Platform
Real-time metricsIncludedIncludedIncludedIncluded
Blob StorageIncludedIncludedIncludedIncluded
One-click rollbackIncludedIncludedIncludedIncluded
Square Shield anti-DDoSIncludedIncludedIncludedIncluded
Cubic AI agentIncludedIncludedIncludedIncluded
DatabasesNot includedIncludedIncludedIncluded
Custom domainNot includedIncludedIncludedIncluded
Load balancerapps per domainNot included2510
AI GatewayNot includedIncludedIncludedIncluded
Daily application snapshotsNot includedNot includedIncludedIncluded
Performance analyticsNot includedNot includedIncludedIncluded
Cubic Pro and routinesNot includedNot includedIncludedIncluded
Team and support
Workspacesmembers per workspaceNot included3 → 710 → 2020 → 50
Priority supportNot includedNot includedIncludedIncluded
Private Discord channelNot includedNot includedNot includedIncluded

4.9 out of 5

482 reviews on Google and Trustpilot

Hosted in a partner datacenter with certifications

  • Tier 3
  • ISO 27001
  • SOC 2 Type II
  • Always-On DDoS Protection
Explore our infrastructure

Frequently asked questions about TypeScript Hosting

Build, tsx runtime, and differences from Node.js.

How does TypeScript run without a build?

Square auto-installs tsx (runner built on esbuild) and runs your .ts code directly. No dist/ or tsc --build required.

Are .tsx and JSX files accepted?

Yes. All variants accepted: .ts, .tsx, .mts, .cts, .mtsx, .ctsx.

Which Node.js version runs TypeScript?

Latest: Node 26 with tsx. Recommended: Node 26 with tsx. Same tracks as the JavaScript runtime.

Can I use NestJS or tRPC?

Yes. The full TypeScript ecosystem works: NestJS, tRPC, Hono, ElysiaJS, Drizzle, Prisma, and any npm package.

Ship your project today

Join the 500,000+ developers who have used Square Cloud to host their projects.

  • Deploy in seconds via GitHub, CLI or .zip
  • Isolated, always-on containers
  • Automatic TLS on every domain
  • Anti-DDoS on layers 3, 4 and 7
  • Snapshots with 1-click restore
  • Cubic, the AI agent, on every plan
  • Fixed price in reais, with NFS-e
  • No per-request charges