Skip to main content

Replit CLI

logo

pip install repl-cli

Welcome to Replit CLI! With the Replit CLI Application, you can work with your repls locally, including clone, pull, and push, the core features of the CLI. The full list of features includes-

PS C:\> replit
Usage: replit [OPTIONS] COMMAND [ARGS]...

Options:
  --install-completion [bash|zsh|fish|powershell|pwsh]
								  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
								  Show completion for the specified shell, to
								  copy it or customize the installation.

  --help                          Show this message and exit.

Commands:
  clone    Clone a Repl's contents to your local machine
  db       Edit the Replit DB for a Repl
  env      Interact with the Environment of the Repl of the Current Working...
  exec     Execute a command to run on the remote repl.
  login    Authenticate with Replit CLI.
  pull     Pull the remote contents of the repl inside the working...
  push     Push changes to the server and override remote.
  run      Run, Stop, or Restart a Repl from your local machine.
  shell    Connect to a bash shell with a remote repl.
  user     Lookup the details for a Replit User
  version  Output the current version for Replit CLI
PS C:\>

Installation

  • Make sure you have Python 3.6 or higher installed. To do so, type python inside of a Command Prompt/Terminal instance. If you have Python installed, a Python shell will come up with the version number. (type quit() inside of the python shell to quit it) If you do not have Python 3.6+ or do not have Python at all, you can install it by downloading the installer for your platform located here
  • Once you have python, run the following command- pip install repl-cli, preferably with Administrator access (Unix platforms do not need admin access, and Run as Administrator on Windows) to make sure that your PC recognizes Replit CLI properly.
  • Once installed, type replit into a shell to get started!

Documentation

To see the docs and for more information, click here

Building From Source

To build from source, run the following commands-

git clone https://github.com/CoolCoderSJ/Replit-CLI.git
cd .\replit-cli\replit_cli
python main.py

Credits

Thanks to the many people who helped grow this project-

  • @Codemonkey51 and @turbio for help with Crosis, the Replit API
  • @SpotandJake for help with the JS server counterpart, used for some operations.
  • @sugarfi for the initial Python Client for Crosis. (This has been tampered with and published to PyPI)
  • And everyone on the Replit Discord Server for the motivation, and general help.

Metadata

Release files for repl-cli 1.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for repl-cli 1.2.7
File Size Uploaded
repl-cli-1.2.7.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for repl-cli 1.2.7
File Interpreter ABI Platform
repl_cli-1.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 26.7 kB

Release files / repl-cli-1.2.7.tar.gz

Download URL repl-cli-1.2.7.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b8426d89cb2d188bb9bcbb56533539f355f8ded620d5ef32a7126d3f6c7c6afb
BLAKE2b-256 checksum
How to use checksums
976315dee84a064d95df1d6bd5d953abf1f06b0f397e7ca7d59a8a96595638cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Windows/10

Release files / repl_cli-1.2.7-py3-none-any.whl

Download URL repl_cli-1.2.7-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
daabf392ad6064992f41b7c99713f8ad983b3a9a7ca51dac14d214fed55878c0
BLAKE2b-256 checksum
How to use checksums
4913605edf8dc52077e35d97f5cd9c8833bb6e3749cb26a8dc69e0b80d11bd58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Windows/10

Release history Release notifications | RSS feed

This release

1.2.7 This release

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page