Skip to content

Commit

Permalink
install script added
Browse files Browse the repository at this point in the history
  • Loading branch information
nyzd committed Feb 12, 2024
1 parent 1cb30cb commit 5967b05
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# Create fig dir containig fig binary files
mkdir $HOME/.fig
mkdir $HOME/.fig/bin

# Get the latest fig release
wget -O $HOME/.fig/bin/fig https://github.com/fig-lang/fig/releases/download/0.1.0/fig

sudo chmod +x $HOME/.fig/bin/fig

echo 'export PATH="$HOME/.fig/bin:$PATH"' >> $HOME/.bashrc

0 comments on commit 5967b05

Please sign in to comment.