How to install tikv/tikv. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
tikv/tikv Installation Guide
How to install tikv/tikv. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for tikv/tikv. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i tikv/tikvor
Install via npx
npx @hexmos/ipm i tikv/tikvPrerequisites
Go
languageVersion: 1.18.0+ (or latest stable version)
Rust
languageVersion: 1.54.0+ (or latest stable version)
Docker
system_toolFor containerizing the TiKV deployment.
Git
system_toolUsed for cloning the repository and managing Git branches.
Python 3.5+
languageVersion: 3.5.0+ (or latest stable version)
Node.js
system_toolFor running the TiKV client and server.
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Binary Installation
curl -O https://tiup-mirrors.pingcap.com/tikv-$TIKV_VERSION-$GOOS-$GOARCH.tar.gz && tar -xzf tikv-$TIKV_VERSION-$GOOS-$GOARCH.tar.gz
curl -O https://tiup-mirrors.pingcap.com/pd-$TIKV_VERSION-$GOOS-$GOARCH.tar.gz && tar -xzf pd-$TIKV_VERSION-$GOOS-$GOARCH.tar.gz
./tikv-server --pd-endpoints="127.0.0.1:2379" --addr="127.0.0.1:20160" --data-dir=/tmp/tikv/data --log-file=/tmp/tikv/log/tikv.log
./pd-server --name=pd --data-dir=/tmp/pd/data --client-urls="http://127.0.0.1:2379" --peer-urls="http://127.0.0.1:2380" --initial-cluster="pd=http://127.0.0.1:2380" --log-file=/tmp/pd/log/pd.logPost Installation Steps
- Start the TiKV server: `./tikv-server`
- Connect to the TiKV cluster using a client like `tiup-client` (see https://tikv.org/docs/4.0/reference/clients/go/) or your preferred method.
- Verify that TiKV is running by checking the status of the server: `ps aux | grep tikv`.
