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!
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
3. Docker Installation 🐳
Run TensorFlow in a container:
docker run -it --rm gcr.io/tensorflow/tensorflow:latest
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.