Alternative
Amazon
Article
Writing
Art
AI
Angular
Photoshop
Premiere
Animal Crossing
Blog
Story
Android
Android Studio
Davinci Resolve
CSS
Clipchamp
ChatGPT
Crypto
DALL-E
Discord
Davinci Resolve
Davinci Resolve 18
Dream Studio
Express
Filmora
Flutter
PC Games
Git
GPT
GPT3
GPT4
GTA
GTA 6
Ghost Together
Ghost Together
HTML
iOS
iMovie
Illustrator
JavaScript
Mac
Mongo
Midjourney
Minecraft
Node.js
NBA 2k24
OSX
PHP
Palworld
Python
Playground AI
Roblox
React
Recipe (Cooking)
React Native
Semicolon.dev
Starfield PC Game
Snapchat
Steam
Stable Diffusion
SVG
Threads
Text To Image (AI)
VSCode
Vim
Web Development
Windows
WebGL
Gpt4 Tutorials

    How To Use GPT-Engineer?

    To build a gpt-engineer project run python -m gpt_engineer.main example command on the command line, from the main GPT-engineer project folder, not your project directory.

    viewed 2.5K times
    › gpt4 › how to use gpt engineer

    How to use GPT-engineer to build a project (YouTube tutorial)

    • In this quick tutorial, I'll show you how to actually use GPT engineer. We're going to build the example project provided with a fresh installation of GPT engineer. It's a simple snake game. But we can also add our own rules to it. Remember, the whole point is to build large codebases.
    • One more thing, it's not free. But it's not expensive. Just keep in mind, each time you build a project with gpt-engineer, be ready to spend between 25c to 50c. It will make multiple API calls to build the codebase.
    • Make sure to run c:\gpt-engineer> pip install -r requirements.txt. This will install gpt-engineer dependencies. They're simply other Python modules required to run gpt-engineer.
    • If you don't want to build the example snake project provided with gpt-engineer installation by default, you can create new project.

    How To Create New GPT-Engineer Project

    First, we're going to make the new project on the command line.

    To create a new GPT engineer project follow these steps:

    • Install GPT-engineer to C:\gpt-engineer.
    • Enter C:\gpt-engineer\projects directory.
    • Use mkdir command to create new-project folder.
    • Name this folder anything you want your project to be named.
    • Enter C:\gpt-engineer\projects\my-project directory.
    • On Linux, use nano editor to create main_prompt file in that directory.
    • On Windows, open Notepad.exe or VSCode and create main_prompt file.
    • Write description of what you want to build in main_prompt file.
    • Save main_prompt file and this is enough to start building the project's codebase.

    With our new project created, we're ready to start building it.

    This is also done on the command line.

    So just follow step by step instructions in the next section.

    How To Run and Build GPT-Engineer Project

    If you don't have GPT engineer installed, go to my other tutorial to see how to do it.

    Once installed, go to gpt-engineer folder by issuing cd gpt-engineer command:

    c:\> cd gpt-engineer

    And run this command:

    c:\gpt-engineer> pip install -r requirements.txt

    This is the most important GPT engineer command, it builds the project:

    c:\gpt-engineer> python -m gpt_engineer.main example

    This will build the project located in projects/example folder.

    If you want to start a new project simply create your own folder in projects directory.

    Articles Related To Gpt4 Community

    Last 10 Articles Written On Ghost Together

    Last 10 Gpt4 Questions Asked On Ghost Overflow

    Other Websites In Our Content Network

    Voxel Engine Tutorials | Jeep Windshield Decals | loom craft | etsy alternative | craigslist alternative | instagram alternative | discord alternative | reddit alternative | x alternative
    Write For Us
    Sign Up Now  -  It's Free!

    How To Use GPT-Engineer?

    Comments (2) New! (You can now post comments on articles!)

    (By posting a comment you are registering a Ghost Together account.)
    Register
    Register
    Post It
    DM Coming Soon
    f f