cli
Railway CLI
File Explorer
- audit.toml
- config.toml
- auto-release.yml
- cargo-audit.yml
- ci.yml
- create-release.yml
- label-check.yml
- publish-docker.yml
- release.yml
- changelog-configuration.json
- README.md
- railway.js
- config.js
- postinstall.js
- diagnose-caller.sh
- app.rs
- mod.rs
- session.rs
- settings.rs
- theme.rs
- ui.rs
- wizard.rs
- access.rs
- desktop.rs
- lifecycle.rs
- mod.rs
- prefs.rs
- setup.rs
- skills_sync.rs
- telemetry.rs
- migrate.rs
- mod.rs
- runner.rs
- build_command.rs
- builder.rs
- healthcheck.rs
- mod.rs
- regions.rs
- restart_policy.rs
- source.rs
- start_command.rs
- variable.rs
- watch_patterns.rs
- config.rs
- delete.rs
- edit.rs
- link.rs
- list.rs
- mod.rs
- new.rs
- common.rs
- delete.rs
- link.rs
- list.rs
- mod.rs
- new.rs
- pull.rs
- push.rs
- docs.rs
- mod.rs
- observability.rs
- private_network.rs
- project.rs
- service.rs
- storage.rs
- tcp_proxy.rs
- handler.rs
- install.rs
- mod.rs
- params.rs
- proxy.rs
- fields.rs
- mod.rs
- service_summary.rs
- ha.rs
- mod.rs
- ops_log.rs
- pgbouncer.rs
- pitr.rs
- common.rs
- config.rs
- keys.rs
- mod.rs
- native.rs
- tel.rs
- files.rs
- sftp.rs
- add.rs
- agent.rs
- api.rs
- autoupdate.rs
- bucket.rs
- cdn.rs
- check_updates.rs
- code.rs
- completion.rs
- connect.rs
- delete.rs
- deploy.rs
- deployment.rs
- dev.rs
- docs.rs
- domain.rs
- down.rs
- flag.rs
- init.rs
- link.rs
- list.rs
- login.rs
- logout.rs
- logs.rs
- metrics.rs
- mod.rs
- open.rs
- outbound_networking.rs
- private_network.rs
- project.rs
- redeploy.rs
- restart.rs
- run.rs
- sandbox.rs
- scale.rs
- service.rs
- setup.rs
- shell.rs
- skills.rs
- starship.rs
- status.rs
- tcp_proxy.rs
- telemetry_cmd.rs
- templates.rs
- unlink.rs
- up.rs
- upgrade.rs
- usage.rs
- variable.rs
- volume.rs
- waf.rs
- whoami.rs
- environment.rs
- mod.rs
- patch.rs
- mod.rs
- mongodb.rs
- mysql.rs
- postgres.rs
- redis.rs
- types.rs
- app.rs
- docker_logs.rs
- log_store.rs
- mod.rs
- ui.rs
- code_runner.rs
- compose.rs
- https_proxy.rs
- local_config.rs
- mod.rs
- output.rs
- ports.rs
- session.rs
- variables.rs
- app.rs
- mod.rs
- ui.rs
- app.rs
- mod.rs
- ui.rs
- authentication.rs
- keys.rs
- mod.rs
- app.rs
- cache.rs
- mod.rs
- ui.rs
- chat.rs
- cloud_agent.rs
- cluster_scale.rs
- database.rs
- deployment.rs
- environment.rs
- exec.rs
- github.rs
- local_override.rs
- metrics.rs
- mod.rs
- outbound_networking.rs
- patroni.rs
- postgres_plugins.rs
- private_network.rs
- project.rs
- regions.rs
- sandbox_exec.rs
- service.rs
- signals.rs
- tcp_proxy.rs
- template_apply.rs
- upload.rs
- user.rs
- variables.rs
- workflow.rs
- BucketCreate.graphql
- BucketCredentialsReset.graphql
- BucketUpdate.graphql
- CancelPitrHaWorkflow.graphql
- ClearPitrHaWorkflowProgress.graphql
- CliEventTrack.graphql
- CloudAgentCreate.graphql
- CloudAgentDelete.graphql
- CloudAgentSleep.graphql
- CloudAgentWake.graphql
- CustomDomainCreate.graphql
- CustomDomainDelete.graphql
- CustomDomainIssueCertificate.graphql
- CustomDomainUpdate.graphql
- DeploymentRedeploy.graphql
- DeploymentRemove.graphql
- DeploymentRestart.graphql
- DisablePitrForHaCluster.graphql
- DisableServiceCdn.graphql
- EgressGatewayAssociationCreate.graphql
- EgressGatewayAssociationsClear.graphql
- EnablePitrForHaCluster.graphql
- EnableServiceCdn.graphql
- EnvironmentCreate.graphql
- EnvironmentDelete.graphql
- EnvironmentPatchCommit.graphql
- EnvironmentPatchCommitStaged.graphql
- EnvironmentStageChanges.graphql
- FunctionUpdate.graphql
- GenerateShellToken.graphql
- PrivateNetworkEndpointRename.graphql
- ProjectCreate.graphql
- ProjectScheduleDelete.graphql
- PurgeServiceCache.graphql
- SandboxCheckpointCreate.graphql
- SandboxCheckpointDelete.graphql
- SandboxCheckpointRename.graphql
- SandboxCreate.graphql
- SandboxDestroy.graphql
- SandboxHeartbeat.graphql
- SandboxTemplateBuild.graphql
- ServiceConnect.graphql
- ServiceCreate.graphql
- ServiceDelete.graphql
- ServiceDisconnect.graphql
- ServiceDomainCreate.graphql
- ServiceDomainDelete.graphql
- ServiceDomainUpdate.graphql
- ServiceInstanceDeploy.graphql
- ServiceInstanceDeployLatestCommit.graphql
- ServiceInstanceUpdate.graphql
- SetServiceUnderAttackMode.graphql
- SshPublicKeyCreate.graphql
- SshPublicKeyDelete.graphql
- TcpProxyDelete.graphql
- TemplateDelete.graphql
- TemplateDeploy.graphql
- TemplateDeployV2.graphql
- TemplateGenerate.graphql
- TemplatePublish.graphql
- TemplateRevert.graphql
- TemplateUnpublish.graphql
- UpdateServiceEdgeConfig.graphql
- ValidateTwoFactor.graphql
- VariableCollectionUpsert.graphql
- VariableDelete.graphql
- VolumeAttach.graphql
- VolumeCreate.graphql
- VolumeDelete.graphql
- VolumeDetach.graphql
- VolumeInstanceBackupCreate.graphql
- VolumeInstanceBackupDelete.graphql
- VolumeInstanceBackupLock.graphql
- VolumeInstanceBackupRestore.graphql
- VolumeInstanceBackupScheduleUpdate.graphql
- VolumeInstancePitrRestore.graphql
- VolumeMountPathUpdate.graphql
- VolumeNameUpdate.graphql
- mod.rs
- BucketInstanceDetails.graphql
- BucketS3Credentials.graphql
- BuildLogs.graphql
- CloudAgent.graphql
- CloudAgentAccess.graphql
- CloudAgentConsoleSessions.graphql
- CloudAgents.graphql
- DeploymentLogs.graphql
- Deployments.graphql
- DeploymentStatus.graphql
- DnsQueryLogs.graphql
- Domains.graphql
- EgressGateways.graphql
- EnvironmentConfig.graphql
- EnvironmentInstances.graphql
- Environments.graphql
- EnvironmentStagedChanges.graphql
- GetPitrHaClusterReplicationHealth.graphql
- GetPitrHaWorkflowProgress.graphql
- GitHubRepos.graphql
- GitHubSshKeys.graphql
- HttpDurationMetrics.graphql
- HttpLogs.graphql
- HttpMetricsByStatus.graphql
- LatestDeployment.graphql
- LatestFunctionVersion.graphql
- Metrics.graphql
- MyCloudAgents.graphql
- NetworkFlowLogs.graphql
- PrivateNetworkEndpoint.graphql
- PrivateNetworkEndpointNameAvailable.graphql
- PrivateNetworks.graphql
- Project.graphql
- Projects.graphql
- ProjectToken.graphql
- Regions.graphql
- Sandbox.graphql
- SandboxCheckpoints.graphql
- Sandboxes.graphql
- SandboxTemplateBuild.graphql
- ServiceEdgeConfig.graphql
- ServiceInstance.graphql
- ServiceWafConfig.graphql
- SshPublicKeys.graphql
- TcpProxies.graphql
- Template.graphql
- TemplateDetail.graphql
- TemplateSearch.graphql
- TwoFactorInfo.graphql
- UserMeta.graphql
- UserProjects.graphql
- VariablesForServiceDeployment.graphql
- VolumeInstanceBackupList.graphql
- VolumeInstanceBackupScheduleList.graphql
- WorkflowStatus.graphql
- WorkspaceTemplates.graphql
- mod.rs
- SignalCreate.graphql
- SignalDefaultSet.graphql
- SignalDelete.graphql
- SignalReplace.graphql
- SignalRuleSet.graphql
- SignalRuleUnset.graphql
- Signal.graphql
- Signals.graphql
- mod.rs
- schema.graphql
- BuildLogs.graphql
- Deployment.graphql
- DeploymentLogs.graphql
- DnsQueryLogs.graphql
- HttpLogs.graphql
- NetworkFlowLogs.graphql
- mod.rs
- mod.rs
- schema.json
- change_set.rs
- compiler.rs
- engine.rs
- eval.rs
- graph.rs
- json.rs
- mod.rs
- partial.rs
- tests.rs
- agent_advisory.rs
- cac_deprecation.rs
- check_update.rs
- compare_semver.rs
- detect.rs
- editor.rs
- git.rs
- host_env.rs
- install_method.rs
- logs.rs
- mod.rs
- progress.rs
- prompt.rs
- reporter.rs
- retry.rs
- self_update.rs
- shell.rs
- time.rs
- two_factor.rs
- watcher.rs
- auth_sim.rs
- client.rs
- config.rs
- consts.rs
- errors.rs
- exec_context.rs
- macros.rs
- main.rs
- oauth.rs
- resources.rs
- subscription.rs
- table.rs
- telemetry.rs
- testkit.rs
- workspace.rs
- .dockerignore
- .gitattributes
- .gitignore
- agents.sh
- build.rs
- Cargo.lock
- Cargo.toml
- CLAUDE.md
- CONTRIBUTING.md
- Dockerfile
- flake.lock
- flake.nix
- install.sh
- LICENSE
- package.json
- pnpm-lock.yaml
- README.md
- release.toml
- shell.nix
- v2.sh
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Link
Example
Command Glossary
Commands referenced in this DOCs, explained below.
railway
View Details ▼
railway
Connect code to a Railway project.
railway login
Login to a Railway account:
railway link {{project_id}}
Link to an existing Project under a Railway account or team:
railway init
Create a new project:
// repository documentation
Was this content helpful?
(0 ratings)
