How do I install or upgrade the fbsql CLI?
fbsql is provided as a tool for anyone who downloads the FeatureBase source code from GitHub.
The application will run natively on any Linux or MacOS operating system. For Windows machines, the system can be installed and run on a Linux virtual machine.
Before you begin
- Learn about fbsql
- Setup Linux or MacOS installation environment:
- Obtain administrator permissions
- Verify network settings allow access to your FeatureBase database
- Install Git
- Create and login to a GitHub account
- Install go
- Install make
- Delete earlier installations at the CLI with
rm -rf fbsql
Step 1 - Create installation directory
- Open a CLI on your computer.
- Run
mkdir fbsql
.
Step 2 - clone the repository and install fbsql
- CD to
fbsql
then clone the FeatureBase code repository:
git clone git@github.com:molecula/featurebase.git
- CD to
featurebase
then run the installation command:
make install-fbsql
Further information
- Learn how to connect to a Cloud database with fbsql
- Learn how to connect to a Community database with fbsql
- Learn how to run SQL commands with fbsql