Files
Perplexica/docs/installation/UPDATING.md
2026-03-09 18:05:31 +05:30

1.7 KiB

Update Vane to the latest version

To update Vane to the latest version, follow these steps:

For Docker users (Using pre-built images)

Simply pull the latest image and restart your container:

docker pull itzcrazykns1337/vane:latest
docker stop vane
docker rm vane
docker run -d -p 3000:3000 -v vane-data:/home/vane/data --name vane itzcrazykns1337/vane:latest

For slim version:

docker pull itzcrazykns1337/vane:slim-latest
docker stop vane
docker rm vane
docker run -d -p 3000:3000 -e SEARXNG_API_URL=http://your-searxng-url:8080 -v vane-data:/home/vane/data --name vane itzcrazykns1337/vane:slim-latest

Once updated, go to http://localhost:3000 and verify the latest changes. Your settings are preserved automatically.

For Docker users (Building from source)

  1. Navigate to your Vane directory and pull the latest changes:

    cd Vane
    git pull origin master
    
  2. Rebuild the Docker image:

    docker build -t vane .
    
  3. Stop and remove the old container, then start the new one:

    docker stop vane
    docker rm vane
    docker run -p 3000:3000 -p 8080:8080 --name vane vane
    
  4. Once the command completes, go to http://localhost:3000 and verify the latest changes.

For non-Docker users

  1. Navigate to your Vane directory and pull the latest changes:

    cd Vane
    git pull origin master
    
  2. Install any new dependencies:

    npm i
    
  3. Rebuild the application:

    npm run build
    
  4. Restart the application:

    npm run start
    
  5. Go to http://localhost:3000 and verify the latest changes. Your settings are preserved automatically.