| [ Web Proxy ] |
| Viewing: https://edgepython.com/getting-started/quickstart | [Back] [Original] |
curl -fsSL https://cdn.edgepython.com/cli/install.sh | shThe installer works on macOS, Linux, and WSL. Open a new shell and check the install:
edge --versionTo build from source instead, run cargo install --path cli from the repo root. See the CLI reference for install details and flags.
Create hello.py:
Hello, world!
Hello, edge!
Hello, python!Run it from your terminal:
edge run hello.pyThere is no build step. The CLI compiles the file and runs it in its native engine.
Edge Python ships no standard library. The official packages resolve by bare name, with no configuration. Create app.py:
{"name":"edge","tags":["fast","small","sandboxed"]}Run it:
edge run app.pyTo record the dependency in your project, run edge add json. It writes the package to packages.json. The package catalog lives in Modules and the manifest format in packages.json.
serve, repl, test, build, and swarm.| Web Proxy Viewer | New URL | Original Page |