TensorFlow is an open-source machine learning framework developed by Google. Follow these steps to install it on your system:

1. Install via pip 📦

pip install tensorflow

👉 Try our quickstart tutorial to get started after installation!

Install_TensorFlow_pip

2. Install from Source Code 🧑‍💻

For advanced users, you can build TensorFlow from source:

git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow
./configure
bazel build --config=opt --config=cuda //tensorflow:tensorflow
TensorFlow_Source_Code

3. Docker Installation 🐳

Run TensorFlow in a container:

docker run -it --rm gcr.io/tensorflow/tensorflow:latest
TensorFlow_Docker

4. System Requirements ⚙️

  • Python 3.7–3.11
  • CUDA 11.2+ (for GPU support)
  • Linux/macOS (Windows is supported via WSL2)

For more details, check our official documentation.