From nobody Wed Feb 28 22:22:32 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TlTPg224sz5CX2P for ; Wed, 28 Feb 2024 22:22:47 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TlTPf56xjz4lxQ for ; Wed, 28 Feb 2024 22:22:46 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1709158952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Jcdt5KmXqIFsehpmV297OP0MCIS5znT03vS4jY0l5XU=; b=ZKZGFfaxBT+cyuDKmO0eAVr9IeT+fWSyuV5gZU8KZtuuO36W6Bu+FHcNADb2a7TZaR6sIA 3GSAauiaNsOs0iroCNV69OK2ouwkXUfMXAN0Db0I+CkElRD442PaJ1yG3v/EMrCXsDcFbK JRJk89X5xz5ADWGxhiR6HowsiXtBOSE= Received: from topanga ( [47.154.31.160]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 6a5fb86a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 28 Feb 2024 22:22:32 +0000 (UTC) Date: Wed, 28 Feb 2024 14:22:32 -0800 From: Pete Wright To: Simon Connah Cc: freebsd-questions Subject: Re: Remote development with neovim, tmux and SSH from macOS? Message-ID: References: <6-vIFoipZvllLfrAwkIMmQ72B1mFYwcw7IRtdlG0JxM_2y5iN2WPWwMF1PVY8YWHw4jrx270Rg3PlA2qaVeJIPyudjoOhd-kdGd1Bt0M7m4=@protonmail.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6-vIFoipZvllLfrAwkIMmQ72B1mFYwcw7IRtdlG0JxM_2y5iN2WPWwMF1PVY8YWHw4jrx270Rg3PlA2qaVeJIPyudjoOhd-kdGd1Bt0M7m4=@protonmail.com> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US] X-Rspamd-Queue-Id: 4TlTPf56xjz4lxQ On Wed, Feb 28, 2024 at 04:30:22PM +0000, Simon Connah wrote: > I've just set up a FreeBSD server and was curious about the best practices for when it comes to developing on FreeBSD? I have a Mac Studio but I'm not used to neovim or tmux at all and I get the feeling that learning them is going to take some time. > > What do you use for developing on FreeBSD servers? Unfortunately I can't install FreeBSD on my machine (well I can but it would be in VMware Fusion Pro). > you might want to take a look at UTM which is a pretty slick virtualization framwork for recent macOS. it uses the native macOS hypervisor, and like KVM under linux uses Qemu to drive things. I've found it to be pretty performant and have actively researched using it to aid with local application development environments. https://mac.getutm.app/ i think there may be some gaps on running graphics under FreeBSD, but it should give you a usable FreeBSD to hack on. You can snapshot the VMs too which may be helpful. as far as development best practicies and workflows i think it boils down to what you are trying to work on. but generally speaking i see no reason why you couldn't use your favorite IDE on your mac, commit changes to git, then pull in the changes and build/test on your FreeBSD system. there is even support for CI workflows using Cirrus CI (https://cirrus-ci.org/) if that is of interest for you. hope this helps, -pete