Remix is a full-stack TypeScript framework for building web applications. It comes with everything you need to build fast, safe, modern web applications. We use it to build many of our production applications at Shopify.
With Node.js 24.3 or later, create an app and start the development server.
npx remix new my-remix-app
cd my-remix-app
npm i
npm run devTo add Remix to an existing project, install the package.
npm i remixFollow the Getting Started tutorial to build a page with an editable form. Explore the bookstore demo to see how sign-in, a shopping cart, and checkout fit together.
To try a new feature or test a fix before the next release, install the latest build from main in your project.
pnpm add "$(curl -fsSL https://github.com/remix-run/previews/releases/latest/download/remix.url)"This pins your project to a specific commit. Run the command again when you want a newer build. You can find the source commit and tarballs for individual packages in the latest preview release.
If pnpm blocks tarball dependencies, set blockExoticSubdeps: false in your project's pnpm-workspace.yaml.
- Model-First Development. We design Remix for developers who build with coding agents and use models in their apps. New apps include the Remix skill for coding agents, and
node_modules/remix/INDEX.mdpoints to the guides and API docs for your installed version. - Build on Web APIs. The router accepts a standard
Requestand returns aResponse. The generated app connects it to Node.js through a server adapter. You can test the same routes by passing requests directly to the router. - Religiously Runtime. Routes and middleware run directly from source. You can test them without bundling your app or generating types.
- Avoid Dependencies. A new Remix app has one runtime dependency,
remix. Where Remix uses third-party code, it wraps that code behind its own APIs. - Demand Composition. Each package does one job. You can use the router in an existing Fetch handler or add the session package to an app that already has a router.
- Distribute Cohesively. Import what you need from a single package, such as
remix/routerfor routing orremix/componentfor UI.
For the ideas behind these principles, read Wake up, Remix!.
- assert: Node assert-compatible utilities for any JavaScript environment
- assets: Fetch-based server for compiling browser JS/TS and CSS assets on demand
- async-context-middleware: Middleware for storing request context in AsyncLocalStorage
- auth: Browser login, OAuth, and OIDC helpers for Remix
- auth-middleware: Pluggable authentication middleware for Remix
- cli: Command-line interface for Remix
- component: Component runtime with server rendering and browser hydration
- component-hmr: Hot module replacement runtime and transforms for Remix components
- compression-middleware: Middleware for compressing HTTP responses
- cookie: A toolkit for working with cookies in JavaScript
- cop-middleware: Middleware for tokenless cross-origin protection in Fetch API servers
- cors-middleware: Middleware for handling CORS in Fetch API servers
- csrf-middleware: Middleware for CSRF protection in Fetch API servers
- data-schema: Tiny, standards-aligned schema validation
- data-table: A typed, relational query toolkit for JavaScript
- data-table-mysql: MySQL database implementation for remix/data-table
- data-table-postgres: PostgreSQL database implementation for remix/data-table
- data-table-sqlite: SQLite database implementation for remix/data-table
- fetch-proxy: An HTTP proxy for the web Fetch API
- fetch-router: A minimal, composable router for the web Fetch API
- file-storage: Key/value storage for JavaScript File objects
- file-storage-s3: S3 backend for remix/file-storage
- form-data-middleware: Middleware for parsing FormData from request bodies
- form-data-parser: A request.formData() wrapper with streaming file upload handling
- fs: Filesystem utilities using the Web File API
- headers: A toolkit for working with HTTP headers in JavaScript
- html-template: HTML template tag with auto-escaping for JavaScript
- lazy-file: Lazy, streaming files for JavaScript
- logger-middleware: Middleware for logging HTTP requests and responses
- method-override-middleware: Middleware for overriding HTTP request methods from form data
- mime: Utilities for working with MIME types
- multipart-parser: A fast, efficient parser for multipart streams in any JavaScript environment
- node-fetch-server: Build servers for Node.js using the web fetch API
- node-hmr: Run Node.js applications with hot module reloading
- node-tsx: Run Node.js with TypeScript and JSX syntax support
- remix: The Remix web framework
- response: Response helpers for the web Fetch API
- route-pattern: Match and generate URLs with strong typing
- session: Session management for JavaScript
- session-middleware: Middleware for managing sessions with cookie-based storage
- session-storage-memcache: Memcache session storage for remix/session
- session-storage-redis: Redis session storage for remix/session
- static-middleware: Middleware for serving static files from the filesystem
- tar-parser: A fast, efficient parser for tar streams in any JavaScript environment
- terminal: Terminal output utilities for JavaScript libraries and CLIs
- test: A test framework for JavaScript and TypeScript projects
- ui: Headless, accessible UI primitives and animation utilities for Remix components
See the contributing guide to report a bug, propose a feature, or submit a pull request. To test a pull request, use the preview install command posted on the PR.
See LICENSE