You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
id | title |
---|---|
getting-started | Getting started with Infer |
Get Infer
You can use Homebrew (Mac only), our binary releases, build infer from source, or use our Docker image.
On Mac, the simplest way is to use Homebrew. Type this into a terminal:
brew install infer
On Linux, or if you do not wish to use Homebrew on Mac, use our latest
binary release. Download
the tarball then extract it anywhere on your system to start using infer. For
example, this downloads infer in /opt on Linux (replace VERSION
with the
latest release, eg VERSION=1.0.0
):
VERSION=0.XX.Y; \
curl -sSL "https://github.com/facebook/infer/releases/download/v$VERSION/infer-linux64-v$VERSION.tar.xz" \
| sudo tar -C /opt -xJ && \
sudo ln -s "/opt/infer-linux64-v$VERSION/bin/infer" /usr/local/bin/infer
If the binaries do not work for you, or if you would rather build infer from source, follow the install from source instructions to install Infer on your system.
Alternatively, use our Docker image:
wget -O Dockerfile https://raw.githubusercontent.com/facebook/infer/master/docker/0.14.0/Dockerfile
wget -O run.sh https://raw.githubusercontent.com/facebook/infer/master/docker/0.14.0/run.sh
sh run.sh
Try Infer in your browser
Try Infer on a small example on Codeboard.