SupportOtherUninstall

Uninstall

Click on the Fig icon ◧ in your macOS status bar -> Integrations -> Uninstall Fig

image


Manual Way

Remove shell integrations (zsh, bash, fish)

  • ~/.profile
  • ~/.zprofile
  • ~/.zshrc
  • ~/.bash_profile
  • ~/.bashrc

Remove the following code blocks from all of the files listed above:

#### FIG ENV VARIABLES ####
[ -s ~/.fig/shell/pre.sh] && source ~/.fig/shell/pre.sh
#### END FIG ENV VARIABLES ####

...
...

#### FIG ENV VARIABLES ####
[ -s ~/.fig/fig.sh ] && source ~/.fig/fig.sh
#### END FIG ENV VARIABLES ####

Delete the fig.fish file.

rm ~/.config/fish/conf.d/fig.fish

Remove VSCode extension

rm -rf ~/.vscode/extensions/withfig.fig-0.0.1/

Uninstall iTerm integration script

rm ~/Library/Application\ Support/iTerm2/Scripts/AutoLaunch/fig-iterm-integration.scpt rm ~/.config/iterm2/AppSupport/Scripts/AutoLaunch/fig-iterm-integration.scpt

Remove Hyper plugin

Open ~/.hyper.js and update the localPlugins array by removing "fig-hyper-integration".

Remove ssh integration

Open ~/.ssh/config and remove the following lines:

# Fig SSH Integration: Enabled
Include ~/.fig/ssh
# End of Fig SSH Integration

Remove tmux integration

Open ~/.tmux.conf and remove the following lines:

# Fig Tmux Integration: Enabled
source-file ~/.fig/tmux
# End of Fig Tmux Integration

Delete all local configuration files

rm -rf ~/.fig

Uninstall command-line tool

rm /usr/local/bin/fig

Remove Fig from login items

Open System Preferences, select Users & Groups and then remove fig from the list by selecting it and clicking the “-” button.

image

Delete Fig.app

Run the following command or manually drag Fig from your Applications folder to the Trash.

rm -rf /Applications/Fig.app

Quit and restart running terminals

Once this guide has been completed, you will need to restart all terminal sessions.

This will completely uninstall Fig and remove all traces of it from your computer.