DEV Community

Cover image for Autocomplete and Artificial Intelligence in your Terminal

Autocomplete and Artificial Intelligence in your Terminal

Leonardo Montini on February 01, 2023

I get asked on every single video what is this autocomplete I’ve got on my terminal, and the answer is... drum rolls... fig.io! Actually, it's muc...
Collapse
 
junaidp7 profile image
junaidP7

is this available for bash terminal on Ubuntu?

Collapse
 
balastrong profile image
Leonardo Montini

There's a waitlist here: withfig.typeform.com/linux

However I don't know about the timings

Collapse
 
banzyme2 profile image
ENDEESA

The tool I've ive been dreaming about. Cant wait to try it out!

Collapse
 
trinhcamminh profile image
MINHCT

Currently this is only available for OS right sir ?

Collapse
 
raguay profile image
Richard Guay • Edited

It is currently available on the macOS, but the Windows/Linux version is near completion. You can join the waiting list for them.

Collapse
 
ebdurrehm profile image
Abdurrahim Ahmadov

Hi bro, you can install it on your linux machine
curl -SsL https://fig.io/install.sh | bash

Collapse
 
trinhcamminh profile image
MINHCT

Does this support auto-complete sir because I see they write on their documentation that auto-complete will not be supported for this headless installation

Thread Thread
 
ebdurrehm profile image
Abdurrahim Ahmadov • Edited

Yes, I use auto-complete feature on my linux-mint fig.io/user-manual/linux#supported...
Image description

Thread Thread
 
trinhcamminh profile image
MINHCT

Image description

Hi there. I have installed like you told me before but why I'm still not see the auto-complete feature 😥. (I'm using WSL 2 anyway)

Collapse
 
hoangphu98 profile image
Hoang Phu

Wait for Linux installation soon and follow project +1

Collapse
 
ebdurrehm profile image
Abdurrahim Ahmadov

Hi,
curl -SsL https://fig.io/install.sh | bash

Collapse
 
digitalmouse profile image
Jimm

Not as easy it seems. Running Debian 11 under WSL2. Getting the following errors:

  • During installation:
    error: Unsupported init system:

  • During running fig for the first time:
    $ fig
    error: failed to launch fig: launching Fig from remote installs is not yet supported

Thread Thread
 
digitalmouse profile image
Jimm

also when installing on modern external Debian 11 server:

✨ Fig has been installed ✨
To get started, just run fig

root@localhost:~# fig
error: failed to launch fig: launching Fig from remote installs is not yet supported
root@localhost:~#

Thread Thread
 
ebdurrehm profile image
Abdurrahim Ahmadov

I have installed it following instructions on this page: fig.io/user-manual/linux#supported...

Now, it works seamless on my linux mint 21.1

Thread Thread
 
balastrong profile image
Leonardo Montini

That's great, thanks for sharing!

Collapse
 
corysus profile image
Almir

This tool is unstable, most of time not working!

Collapse
 
balastrong profile image
Leonardo Montini

Really? I had some troubles setting it up the first time to be honest, but after that I never had any particular issue.

What is happening in your case? If it's just not showing up make sure the app is launched automatically when the computer turns on, I also had this issue now that I think about it... but once set properly it worked fine :)

Collapse
 
corysus profile image
Almir

Also sometimes consume a lot off memory ... it's cool app and useful but still need improvements on stability. Autocomplete not working, sometimes work sometimes not .. I get tired typing fig doctor :)

Collapse
 
raguay profile image
Richard Guay

I've been using fig from it's beginning and have enjoyed it. The newer features are great, but I still like the old side-panel program it used to have ☹️.

Collapse
 
hyperzsb profile image
Shaobo Zhang

It's getting a little overstuffed with too many features.

Collapse
 
kien5436 profile image
Phạm Trung Kiên • Edited

We’re in 2023, AI is everywhere, including our terminals.

It seems... bad idea for me. Just use zsh and you will have those things without AI. AI is good but don't abuse it, don't believe it! It can take ownership of your computer :lol:

Collapse
 
luisfelipeluis49 profile image
Luis Felipe

I hope they launch an Arch version soon

Collapse
 
synchromatik profile image
synchromatik • Edited

If you are remote and dont have macOS on your hand, kinda defeats the purpose of terminal.

just use zsh with autocomplete and other plugins, same thing.

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
notseilac profile image
Calieston

What advantages do you see in using fig instead of warp.dev/ terminal?