Skip to content

Instantly share code, notes, and snippets.

@yusren
Created April 19, 2025 00:36
Show Gist options
  • Save yusren/d583d56106f9bc4c9d7d2cc9520e3e8d to your computer and use it in GitHub Desktop.
Save yusren/d583d56106f9bc4c9d7d2cc9520e3e8d to your computer and use it in GitHub Desktop.
Open In VS Code For Linux Mint (Nemo)
#!/bin/bash
echo "Removing previous version (if found)..."
mkdir -p ~/.local/share/nemo-python/extensions/
# Remove previous version and setup folder
rm -f ~/.local/share/nemo-python/extensions/open_in_vscode.py
echo "Downloading newest version..."
wget --show-progress -q -O ~/.local/share/nemo-python/extensions/open_in_vscode.py https://gist.githubusercontent.com/yusren/d70924fb4fcd279b1dca1dbf7f130371/raw/017fd9c437edb64501afb76c5cf9efc87a6b9ab6/open_in_vscode.py
#nano ~/.local/share/nemo-python/extensions/open_in_vscode.py
chmod +x ~/.local/share/nemo-python/extensions/open_in_vscode.py
# Restart Nemo
echo "Restarting Nemo..."
nemo -q
# Check if the command was successful
echo "Installation Complete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment