Faka i-free-code, i-AI ekhululekileyo ekhowudikayo ye-agent ye-terminal yakho
Ikhowudi-ekhululekileyo ifunda iprojekthi yakho, ihlela iifayile nge-diff oyifumeneyo, iqhuba uvavanyo lwakho kwaye ilungisa oku kusenzeka. Umgca omnye ufaka kwi-macOS, Linux okanye Windows.
curl -fsSL https://free.ai/install.sh | sh
irm https://free.ai/install.ps1 | iex
Akukho Python, pip okanye iimvume zomphathi ezifunekayo kuqala. Phumeza umgca ofanayo kwakhona ukunyusa.
I-Free to start: 6,000 tokens a day with no account, 30,000 a day with confirmed free account.
Ezinye iindlela zokufakela
The one-line installer uses uv, then pipx, then a private Python environment, whichever works first. If you already use one of these tools, install the freeai-code package directly:
uv tool install freeai-code
pipx install freeai-code
pip install freeai-code
npm install -g freeai-code
The npm package needs Python 3.9 or newer on the machine.
Faka uguqulelo oluthile
# macOS / Linux
curl -fsSL https://free.ai/install.sh | FREE_CODE_VERSION=<version> sh
# Windows (PowerShell)
$env:FREE_CODE_VERSION = "<version>"; irm https://free.ai/install.ps1 | iex
Ukunyanzelisa indlela enye yokufaka, misela i-FREE_CODE_INSTALLER kwi-uv, pipx okanye i-venv ngendlela efanayo.
Khangela ukuba isebenze na
free-code --version
Ixesha lokuqala:
Vula i-terminal kwisiqulathi seefayili seprojekti yakho kwaye uqalise iseshoni. Isebenza ngokuzenzekelayo ngaphandle kwe-akhawunti.
cd your-project
free-code
# Or one task at a time
free-code ask "How does the auth system work?"
free-code run "Add unit tests for the User model"
Inkqubo ekhuselekileyo ikwimeko emiselweyo: ubona i-diff kwaye uqinisekise utshintsho lwefayili nganye nomyalelo phambi kokuba iphumeze. Ixesha lokuqala, i-free-code ibuza kabini ukuba ithumela ingxelo yokungasebenzi kakuhle engaziwayo. Impendulo emiselweyo ayikho.
Igama elithile ne-API
Ukungena kukhupha i-free allowance yakho yosuku lonke kwaye kuvumela ukuba usebenzise iimodyuli ezihlawulwe ukusuka kwi-token balance yakho. Umkhangeli zincwadi wakho uvula kwi-Free.ai, ucofa u-Approval, kwaye i-CLI ifumana iqhosha ngokuzenzekelayo.
free-code login # opens your browser
free-code login --no-browser # over SSH: approve from any device with a short code
free-code login --manual # paste a key or choose your own provider
free-code logout # forget the key on this machine
Ungayenza isitshixo ngokwakho kwi akhawunti yakho uze uyimisele, esebenza kakuhle kumaseva ne CI:
free-code config set token sk-free-...
# or, for one shell or a CI job
export FREE_CODE_TOKEN=sk-free-...
Dala i-akhawunti ekhululekileyo
Sebenzisa isitshixo sakho somthengisi
ikhowudi-ekhululekileyo isebenza ne OpenAI yakho, i-Anthropic, i-Google okanye iqhosha le-OpenRouter. Iisicelo ziya kugqitha kulo mboneleli ngeqhosha lakho.
free-code config set provider anthropic
free-code config set api_key sk-ant-...
Khetha imodeli
ikhowudi-ekhululekileyo idwelisa imodeli nganye i-Free.ai esebenza ngayo, imodeli yomgangatho okhululekileyo yokuqala. Imodeli yomgangatho okhululekileyo ayihlawuli i-token ngaphakathi kwe-inzala yakho yosuku; imodeli ehlawulweyo ihlawulwe nge-token.
free-code models # chat models, free tier first
free-code models --free # only models that cost no tokens
free-code models --type image # image, video, tts, stt, ocr, music ...
free-code config set model <id> # default model for new sessions
Kwiseshoni, ubhale /imodeli ukutshintshela. Khangela zonke iimodeli
Imiyalelo eqhelekileyo
| Umyalelo | Iinkqubo |
|---|---|
free-code | Qala iseshoni esebenzayo kule ncwadi eneenkcukacha |
free-code -c | Qhubeka neseshoni yokugqibela yeprojekti |
free-code ask "..." | Buza umbuzo omnye malunga nesiseko sekhowudi |
free-code run "..." | Yenza umsebenzi wokukhowuda omnye |
free-code -p "..." | Shicilela impendulo kwaye uphume, kubashicileli kunye ne CI |
free-code sessions | Uluhlu lweseshoni ezigciniweyo onokuthi uziqhubekeke nazo |
free-code tools | Bonisa izixhobo ezinokuthi i-agent isebenzise kwaye ezifuna uqinisekiso |
free-code cloud "..." --repo URL | Sebenzisa umsebenzi kwi-Free.ai cloud kwaye ufumane ingxelo |
free-code tasks | Uluhlu lwemisebenzi yakho ekhawulezayo ye-cloud |
free-code rc | Bona kwaye uqhube iseshoni kwi-Free.ai app |
free-code mcp add | Dibanisa kwiseva ye-MCP |
free-code update | Yenza isantya sokukhupha kuhlobo olutsha |
free-code config | Bonisa izicwangciso zakho |
Ukongeza ekuhlela iifayili nokuqhuba imiyalelo, umncedisi angavelisa imifanekiso, ukuthetha, umculo kunye nevidiyo kwiprojekti yakho, uguqula umsindo, ufunde umbhalo osuka kwiscreenshots ne PDFs, ukhangela i web ngemiyalezo kwaye uguqule iifayili zomhlaba.
Uhlaziyo nokungafaki
i-free-code ihlaziya ukuphuculwa kweenkqubo ngento na ifakwe kuyo. Ukuyisusa, sebenzisa isixhobo esifanayo:
free-code update
uv tool uninstall freeai-code
pipx uninstall freeai-code
pip uninstall freeai-code
npm uninstall -g freeai-code
Ukuba umfaki-nkqubo wadala indawo yakhe yokusebenza, cima isiqulathi seefayili se-.free-code kuvimba wakho weefayili zasekhaya nefayili ye-free-code kwi-.local/bin. Imimiselo yakho kunye neeseshoni ezigciniweyo zihlala kwi-.free-code.
Ukulungisa ingxaki
free-code: umyalelo awufumanekanga
Uvimba weefayili zofakelo awukho kwindlela yakho. Kwi Windows, vula isiphelo sendlela esitsha. Kwi macOS okanye Linux, yongeza kwiprofayili yakho yeqokobhe uze uvule isiphelo sendlela esitsha:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc # or ~/.zshrc
Umda ongaziwayo okhululekileyo wosuku lusetyenzisiwe
Sebenzisa ukungena kwekhowudi ekhululekileyo ukungenisa kwaye ufumane unikezelo olukhulu lwemihla ngemihla lweakhawunti ekhululekileyo, okanye ukongeza iitokeni ukusebenzisa iimodyuli ezihlawulwayo. Iinkqubo
Isifaki asikwazi ukulayisha ezantsi i-uv
Ezinye iinethiwekhi zithintela i-astral.sh. Faka nge-pipx okanye i-pip endaweni yoko, okanye umisele i-FREE_CODE_INSTALLER=venv usebenzise i-Python yakho 3.9 okanye ekutsha.
python3 -m venv ayiphumelelanga kwi-Debian okanye Ubuntu
Faka i-python3-venv ipakethi nge-apt, emva koko qhuba umgca wokufaka kwakhona.
Uhlala uxakekile? Bhala /ulwazi olubuyiselweyo ngaphakathi kwekhowudi ekhululekileyo, okanye uvule ingxaki kwi-GitHub. GitHub issues
Imibuzo ebuzwa rhoqo
Qala ukudweba nge-AI kwi-terminal yakho
curl -fsSL https://free.ai/install.sh | sh
Iifestile nezinye izinto ezikhethwayo zokufakela · Malunga noEncoder Free.ai